@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg: #071525;
  --bg-deep: #050f1c;
  --bg-soft: #0a1b2e;
  --card: #0c2035;
  --card-2: #0e263e;
  --border: rgba(40, 185, 255, 0.18);
  --border-strong: rgba(0, 226, 239, 0.46);
  --cyan: #00dce9;
  --cyan-bright: #00f1ff;
  --cyan-soft: rgba(0, 220, 233, 0.12);
  --green: #18d6b2;
  --red: #ff4d67;
  --amber: #f6c453;
  --white: #f3f8fd;
  --text: #d8e3ee;
  --muted: #91a8bd;
  --muted-2: #668097;
  --container: 1240px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --transition: 240ms ease;
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.8;
}
body,
button,
input {
  font-family: var(--font);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

/* NAVBAR */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  height: 76px;
  z-index: 1000;
  background: rgba(5, 17, 30, 0.48);
  border-bottom: 1px solid rgba(89, 183, 228, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
}
.site-nav.scrolled {
  background: rgba(5, 16, 29, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.nav-inner {
  width: min(var(--container), calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  color: var(--cyan-bright);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.16));
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-mark.small {
  width: 32px;
  height: 32px;
}
.brand-text,
.footer-brand {
  color: #e8f0f7;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.7px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 76px;
  color: #aebfd0;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 22px;
  height: 2px;
  transform: translateX(50%);
  border-radius: 5px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.dashboard-item {
  display: none;
}
.signin-up {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: var(--white);
  background: rgba(10, 32, 52, 0.55);
  border: 1px solid rgba(79, 195, 240, 0.42);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.signin-up svg {
  width: 16px;
  height: 16px;
}
.signin-up:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
  box-shadow: 0 0 22px rgba(0, 220, 233, 0.1);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(9, 29, 48, 0.72);
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
  border-radius: 5px;
  transition: var(--transition);
}

/* HERO */
.hero-section {
  position: relative;
  min-height: clamp(620px, 90vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(71, 159, 204, 0.08);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 14, 25, 0.84) 0%,
      rgba(4, 14, 25, 0.46) 42%,
      rgba(4, 14, 25, 0.8) 100%
    ),
    url("../assets/download.jfif");
  background-size: cover;
  background-position: center;
  filter: saturate(0.78);
  transform: scale(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, var(--bg-deep));
}
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
}
.hero-glow-one {
  background: var(--cyan);
  left: -180px;
  top: 140px;
}
.hero-glow-two {
  background: #1a66a8;
  right: 30%;
  top: -250px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(620px, 90vh, 760px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  direction: ltr;
  align-items: center;
  gap: 48px;
  padding-top: 76px;
}
.hero-copy {
  direction: rtl;
  text-align: right;
  zoom: 0.9;
  padding-inline-start: 22px;
}
.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero-copy h1 {
  margin: 14px 0 20px;
  color: var(--white);
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.hero-copy h1 span {
  color: var(--cyan-bright);
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.16);
}
.hero-copy p {
  max-width: 420px;
  color: #a9b9c9;
  font-size: 15px;
  line-height: 2.05;
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn span {
  font-size: 17px;
  line-height: 1;
}
.btn-primary {
  color: #03202b;
  background: var(--cyan);
  box-shadow: 0 9px 28px rgba(0, 220, 233, 0.15);
}
.btn-primary:hover {
  background: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 220, 233, 0.23);
}
.btn-outline {
  color: var(--white);
  border: 1px solid var(--cyan);
  background: rgba(4, 20, 34, 0.38);
}
.btn-outline:hover {
  color: var(--cyan-bright);
  background: rgba(0, 220, 233, 0.07);
  transform: translateY(-2px);
}

.hero-product {
  direction: ltr;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dashboard-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 24px rgba(0, 217, 232, 0.1));
}

.dashboard-window {
  overflow: hidden;
  border: 1px solid rgba(75, 170, 221, 0.28);
  background: #07192b;
  border-radius: 11px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    0 0 35px rgba(0, 191, 255, 0.06);
}
.hero-dashboard {
  width: 100%;
  transform: rotate(-1.5deg);
}
.dashboard-topbar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #7891a6;
  background: #091d31;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 9px;
}
.window-dots {
  display: flex;
  gap: 5px;
  direction: ltr;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d6b81;
}
.dashboard-body {
  min-height: 380px;
  display: grid;
  grid-template-columns: 110px 1fr;
}
.dashboard-sidebar {
  padding: 15px 10px;
  background: #07182a;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.mini-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--cyan);
}
.mini-brand span {
  font-size: 11px;
  font-weight: 800;
}
.mini-brand small {
  color: #7e98ae;
  font-size: 5px;
  line-height: 1.2;
}
.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin-bottom: 5px;
  padding: 5px 7px;
  color: #71899e;
  border-radius: 5px;
  font-size: 7.5px;
  transition: var(--transition);
}
.dashboard-sidebar a:hover,
.dashboard-sidebar a.side-active {
  color: #d9f5fb;
  background: rgba(32, 102, 154, 0.38);
}
.dash-icon {
  color: #80a7bf;
  font-size: 11px;
}
.dashboard-main {
  padding: 16px;
  background: #081c2f;
}
.dash-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #7d96a9;
  font-size: 8px;
}
.dash-heading strong {
  display: block;
  color: #eef7fb;
  font-size: 11px;
}
.dash-heading small {
  color: #71899e;
  font-size: 7px;
}
.dash-heading > span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.metric-card {
  position: relative;
  min-height: 72px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(69, 145, 190, 0.16);
  background: #0b2238;
  border-radius: 6px;
}
.metric-card small {
  display: block;
  color: #9db1c1;
  font-size: 7px;
}
.metric-card strong {
  display: block;
  margin-top: 4px;
  color: #f3fbff;
  font-size: 16px;
  line-height: 1.2;
}
.metric-card em {
  position: absolute;
  top: 26px;
  right: 9px;
  color: var(--green);
  font-style: normal;
  font-size: 6px;
}
.metric-card.risk {
  border-color: rgba(255, 77, 103, 0.28);
}
.metric-card.risk strong {
  color: #ffd7dc;
  font-size: 11px;
}
.risk-ring {
  position: absolute;
  left: 9px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 77, 103, 0.18);
  border-top-color: var(--red);
  border-right-color: var(--red);
  border-radius: 50%;
  transform: rotate(-25deg);
}
.risk-ring span {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 77, 103, 0.2);
}
.sparkline {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 14px;
}
.sparkline::before {
  content: "";
  position: absolute;
  inset: 5px 0 0;
  border-top: 1px dashed rgba(0, 220, 233, 0.12);
}
.sparkline i {
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 1.5px solid var(--cyan);
  border-radius: 50%;
  transform: skewY(-9deg);
}
.sparkline.green i {
  border-color: var(--green);
}
.sparkline.cyan i {
  border-color: #4fafff;
}
.dash-lower {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 8px;
  margin-top: 8px;
}
.chart-card,
.status-card {
  min-height: 175px;
  padding: 10px;
  border: 1px solid rgba(69, 145, 190, 0.16);
  background: #0b2238;
  border-radius: 6px;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #dceaf3;
  font-size: 7px;
}
.card-heading span {
  color: #718ca2;
}
.card-heading span b,
.card-heading span i {
  display: inline-block;
  width: 12px;
  border-top: 1.5px solid var(--cyan);
  vertical-align: middle;
}
.card-heading span i {
  border-color: #4fafff;
}
.line-chart {
  display: block;
  width: 100%;
  height: 110px;
  margin-top: 10px;
}
.grid-lines path {
  fill: none;
  stroke: rgba(111, 159, 190, 0.1);
  stroke-width: 1;
}
.chart-line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.chart-cyan {
  stroke: var(--cyan);
}
.chart-blue {
  stroke: #4faeff;
}
.chart-muted {
  stroke: #4b708d;
  stroke-dasharray: 5 4;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #587188;
  font-size: 6px;
  direction: ltr;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  color: #849bae;
  font-size: 7px;
}
.status-row b {
  padding: 3px 6px;
  border-radius: 99px;
  font-size: 6px;
  font-weight: 500;
}
.good {
  color: #7ef2db;
  background: rgba(24, 214, 178, 0.1);
}
.bad {
  color: #ff8999;
  background: rgba(255, 77, 103, 0.1);
}

/* FEATURE CARDS */
.feature-section {
  position: relative;
  z-index: 3;
  padding: clamp(50px, 6vw, 80px) 0;
  background: linear-gradient(var(--bg-deep), #081a2d);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  min-height: 200px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(12, 35, 56, 0.94),
    rgba(7, 25, 42, 0.94)
  );
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(0, 220, 233, 0.05);
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: -8px auto 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 220, 233, 0.45);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(0, 220, 233, 0.035);
  box-shadow: inset 0 0 18px rgba(0, 220, 233, 0.03);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  margin-bottom: 8px;
  color: #edf5fb;
  font-size: 17px;
  font-weight: 700;
}
.feature-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.feature-arrow {
  display: block;
  margin-top: 10px;
  color: var(--cyan);
  font-size: 18px;
  transition: var(--transition);
}
.feature-card:hover .feature-arrow {
  transform: translateX(-5px);
}

/* ANALYTICS SECTION */
.section-dark {
  background: #091c30;
}
.analytics-section {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.025);
}
.analytics-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  direction: ltr;
}
.analytics-copy {
  direction: rtl;
  text-align: right;
}
.analytics-copy h2 {
  margin: 10px 0 18px;
  color: var(--white);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.55;
}
.analytics-copy p {
  max-width: 500px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.2;
  margin-bottom: 26px;
}
.analytics-product {
  direction: ltr;
}
.player-dashboard {
  position: relative;
  min-height: 255px;
  padding: 16px;
  background: #071a2c;
}
.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.player-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #5e7180, #1e3549);
  border: 2px solid #273f52;
  font-weight: 700;
  font-size: 12px;
}
.player-profile strong {
  display: block;
  color: #e9f3f8;
  font-size: 11px;
}
.player-profile small {
  display: block;
  color: #738ba0;
  font-size: 7px;
}
.player-tabs {
  display: flex;
  gap: 12px;
}
.player-tabs button {
  padding: 5px 6px;
  color: #758da0;
  background: transparent;
  font-size: 7px;
  cursor: pointer;
}
.player-tabs button.selected {
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan);
}
.player-chart-wrap {
  width: 64%;
  margin-top: 18px;
}
.chart-title {
  display: flex;
  justify-content: space-between;
  color: #dce9f2;
  font-size: 8px;
}
.chart-title span {
  color: #627e94;
}
.line-chart.large {
  height: 130px;
}
.comparison-card {
  position: absolute;
  top: 60px;
  right: 14px;
  width: 30%;
  min-height: 170px;
  padding: 14px;
  border: 1px solid rgba(62, 137, 180, 0.2);
  background: #0b2136;
  border-radius: 7px;
}
.comparison-title strong {
  display: block;
  color: #eaf3f8;
  font-size: 9px;
}
.comparison-title small {
  color: #698298;
  font-size: 6px;
}
.compare-row {
  margin-top: 15px;
  color: #8da2b4;
  font-size: 7px;
}
.compare-row b {
  float: left;
  color: var(--red);
  font-size: 7px;
}
.compare-row > div {
  clear: both;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #102f45;
}
.compare-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

/* PROCESS SECTION */
.process-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #061526;
}
.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-heading h2 {
  margin: 8px 0 12px;
  color: var(--white);
  font-size: 30px;
}
.section-heading p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: center;
}
.process-step {
  text-align: center;
}
.process-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 220, 233, 0.5);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 26px;
  background: rgba(0, 220, 233, 0.025);
}
.process-step h3 {
  color: #eef6fb;
  font-size: 15px;
}
.process-step p {
  max-width: 180px;
  margin: 4px auto 0;
  color: #71889c;
  font-size: 11px;
  line-height: 1.8;
}
.process-arrow {
  color: var(--cyan);
  text-align: center;
  font-size: 24px;
  opacity: 0.8;
}

/* MONITOR SECTION */
.monitor-section {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(11, 29, 49, 0.3) 50%,
    transparent 100%
  );
}
.monitor-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.monitor-section .section-heading-2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1rem;
}
.monitor-section .section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 55ch;
  line-height: 1.75;
  margin-inline: auto;
}
.monitor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.monitor-card {
  background: var(--card);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}
.monitor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 24px rgba(0, 217, 232, 0.15);
}
.monitor-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(0, 217, 232, 0.07);
  border: 1px solid rgba(0, 217, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.monitor-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.monitor-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
}
.monitor-list li {
  font-size: 0.82rem;
  color: #9aafc4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.monitor-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
  flex-shrink: 0;
}

/* CTA BANNER */
.cta-banner {
  padding: 4rem 0;
}
.cta-inner {
  position: relative;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 21, 37, 0.9) 0%,
      rgba(7, 21, 37, 0.7) 48%,
      rgba(7, 21, 37, 0.82) 100%
    ),
    url("../assets/background-2.png");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 28px;
  padding: 4rem 3rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 3rem;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(0, 200, 255, 0.08);
}
.cta-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.football-decor {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  opacity: 0.5;
}
.cta-content {
  flex: 1;
  position: relative;
  z-index: 2;
  direction: rtl;
  margin-right: 65%;
  text-align: right;
}
.cta-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.cta-desc {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 52ch;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.eyebrow-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(0, 217, 232, 0.08);
  border: 1px solid rgba(0, 217, 232, 0.2);
  border-radius: 50px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1rem;
}

/* FOOTER */
.site-footer {
  background: #050f1b;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-inner {
  padding: 32px 0 24px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: #71889c;
  font-size: 13px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--cyan);
}
.footer-social {
  display: flex;
  gap: 10px;
  direction: ltr;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #8196a8;
  font-size: 12px;
  transition: var(--transition);
}
.footer-social a:hover {
  color: var(--cyan);
  border-color: rgba(0, 220, 233, 0.4);
  transform: translateY(-2px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: #5e7589;
  font-size: 12px;
}

/* AUTH MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(1, 7, 13, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}
.login {
  position: relative;
  width: min(420px, 100%);
  padding: 42px 32px 32px;
  border: 1px solid rgba(0, 220, 233, 0.22);
  border-radius: 18px;
  background: rgba(7, 24, 40, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.close-btn {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 32px;
  height: 32px;
  color: #849aab;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}
.switch-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.switch-buttons button {
  padding: 8px 20px;
  color: #7e95a7;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.switch-buttons button.active {
  color: #031a23;
  background: var(--cyan);
}
.login h2 {
  font-size: 22px;
}
.login h3 {
  margin: 6px 0 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.login form {
  display: grid;
  gap: 14px;
}
.textbox {
  position: relative;
}
.textbox input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  outline: none;
  direction: rtl;
}
.textbox input:focus {
  border-color: rgba(0, 220, 233, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 220, 233, 0.06);
}
.textbox label {
  position: absolute;
  right: 14px;
  top: 50%;
  color: #6e8597;
  font-size: 13px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: 0.18s ease;
}
.textbox input:focus ~ label,
.textbox input:not(:placeholder-shown) ~ label {
  top: 0;
  padding: 0 6px;
  color: var(--cyan);
  background: #091e31;
  font-size: 11px;
}
.login button.submit {
  height: 50px;
  color: #04202a;
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}
.login button.submit:hover {
  background: var(--cyan-bright);
}
.login p {
  margin-top: 22px;
  color: #70879a;
  font-size: 13px;
}
.login p a {
  color: var(--cyan);
  cursor: pointer;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  color: var(--cyan);
  background: rgba(8, 28, 46, 0.9);
  border: 1px solid rgba(0, 220, 233, 0.3);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: var(--transition);
}
.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr 1.6fr;
    gap: 32px;
  }
  .dashboard-body {
    min-height: 350px;
  }
  .analytics-grid {
    gap: 35px;
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .process-arrow {
    display: none;
  }
  .monitor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 850px) {
  .container,
  .nav-inner {
    width: min(var(--container), calc(100% - 40px));
  }
  .site-nav {
    height: 68px;
  }
  .nav-menu {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(75, 170, 221, 0.2);
    border-radius: 12px;
    background: rgba(5, 19, 33, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
  }
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-menu a {
    height: auto;
    padding: 12px 14px;
  }
  .nav-menu a.active::after {
    display: none;
  }
  .nav-actions {
    margin-inline-start: auto;
  }
  .nav-actions .signin-up {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero-section,
  .hero-inner {
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 130px 0 65px;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .hero-copy p {
    margin-inline: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-product {
    width: min(640px, 100%);
    margin: 0 auto;
  }
  .hero-dashboard-image {
    width: 100%;
    border-radius: 14px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .analytics-copy {
    text-align: center;
  }
  .analytics-copy p {
    margin-inline: auto;
  }
  .analytics-product {
    max-width: 760px;
    width: 100%;
    margin: auto;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .footer-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .cta-inner {
    flex-direction: column;
    padding: 2.5rem 1.75rem;
    text-align: center;
  }
  .cta-content {
    text-align: center;
  }
  .football-decor {
    display: none;
  }
  /* Show the login button inside the mobile menu */
  .nav-menu li .signin-up {
    display: flex !important;
    /*width: 100%;*/
    justify-content: center;
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  .monitor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .container,
  .nav-inner {
    width: min(var(--container), calc(100% - 28px));
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .analytics-section,
  .process-section,
  .monitor-section {
    padding: 60px 0;
  }
  .player-dashboard {
    padding: 12px;
  }
  .player-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .player-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .player-chart-wrap {
    width: 100%;
    padding-bottom: 180px;
  }
  .comparison-card {
    top: auto;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    min-height: 150px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 14px;
  }
  .monitor-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner {
    padding: 2rem 0;
  }
  .cta-inner {
    border-radius: 18px;
    padding: 2rem 1.25rem;
  }
}
@media (max-width: 576px) {
  .cta-heading {
    font-size: 1.3rem;
  }
}
@media (max-width: 460px) {
  .site-nav {
    height: 64px;
  }
  .nav-menu {
    top: 68px;
    right: 12px;
    left: 12px;
  }
  .hero-inner {
    padding-top: 120px;
  }
  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.65;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-dashboard-image {
    border-radius: 10px;
  }
  .dashboard-body {
    grid-template-columns: 80px 1fr;
    min-height: 285px;
  }
  .dashboard-sidebar {
    padding: 10px 6px;
  }
  .dashboard-sidebar a {
    font-size: 6px;
    padding-inline: 4px;
  }
  .mini-brand small {
    display: none;
  }
  .dashboard-main {
    padding: 10px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card {
    min-height: 68px;
  }
  .dash-lower {
    grid-template-columns: 1fr;
  }
  .chart-card {
    min-height: 140px;
  }
  .status-card {
    display: none;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    flex-direction: column;
    align-items: center;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-inner {
    padding-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── RTL OVERRIDES ─── */
html,
body {
  direction: rtl;
}
.nav-inner {
  direction: ltr;
}
.nav-actions {
  direction: rtl;
}
.nav-menu {
  direction: rtl;
}

.hero-inner {
  direction: rtl;
  grid-template-columns: 1fr 2fr;
}
.hero-copy {
  direction: rtl;
  text-align: right;
}
.hero-product {
  direction: ltr;
}

.analytics-grid {
  direction: rtl;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}
.analytics-copy {
  direction: rtl;
  text-align: right;
}
.analytics-product {
  direction: ltr;
}
.feature-grid,
.process-grid,
.monitor-grid {
  direction: rtl;
}
.process-arrow {
  direction: rtl;
}
.footer-main {
  direction: ltr;
}
.footer-brand {
  direction: ltr;
}
.footer-links {
  direction: rtl;
}
.footer-social {
  direction: ltr;
}
.footer-bottom {
  direction: rtl;
}

@media (max-width: 1100px) {
  .hero-inner {
    direction: rtl;
    grid-template-columns: 1fr 1.6fr;
  }
}
@media (max-width: 850px) {
  .nav-menu {
    direction: rtl;
  }
  .hero-inner {
    direction: rtl;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .analytics-grid {
    direction: rtl;
    grid-template-columns: 1fr;
  }
  .analytics-copy {
    text-align: center;
  }
  .cta-content {
    margin-right: 5%;
  }
  .process-grid,
  .monitor-grid,
  .feature-grid {
    direction: rtl;
  }
  .footer-main {
    direction: rtl;
  }
  .footer-brand,
  .footer-links,
  .footer-social {
    direction: rtl;
  }
}
@media (max-width: 680px) {
  .hero-inner,
  .analytics-grid,
  .feature-grid,
  .process-grid,
  .monitor-grid {
    direction: rtl;
  }
  .hero-copy,
  .analytics-copy {
    text-align: center;
  }
}
