/* Base styles & design tokens */
:root {
  --ink: #0A2C4C;
  --ink-2: #0B4B89;
  --paper: #EEF2F6;
  --paper-2: #FFFFFF;
  --signal: #C22828;
  --signal-dark: #9E2020;
  --caution: #DCAA3A;
  --caution-dark: #BD861D;
  --safe: #1B7A6B;
  --steel: #54677D;
  --steel-light: #8C9CAE;
  --line: #D7DFE8;
  --line-dark: #1A3F63;
  --radius: 14px;
  --display: 'Big Shoulders Display', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background-color: var(--paper);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(194, 40, 40, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 65%, rgba(11, 75, 137, 0.06) 0%, transparent 45%),
    linear-gradient(90deg, rgba(10, 44, 76, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(10, 44, 76, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- scroll reveal (progressive enhancement) ---------- */
body.js-ready [data-reveal],
body.js-ready [data-reveal-group]>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, .8, .24, 1), transform .7s cubic-bezier(.16, .8, .24, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}

body.js-ready [data-reveal].is-visible,
body.js-ready [data-reveal-group].is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- hero load-in ---------- */
.hero-stagger>* {
  opacity: 0;
  animation: fadeUp .8s cubic-bezier(.16, .8, .24, 1) forwards;
}

.hero-stagger>*:nth-child(1) {
  animation-delay: .05s
}

.hero-stagger>*:nth-child(2) {
  animation-delay: .16s
}

.hero-stagger>*:nth-child(3) {
  animation-delay: .27s
}

.hero-stagger>*:nth-child(4) {
  animation-delay: .38s
}

.hero-stagger>*:nth-child(5) {
  animation-delay: .49s
}

.hero-visual {
  opacity: 0;
  animation: fadeScaleIn 1s cubic-bezier(.16, .8, .24, 1) .3s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(.94) translateY(14px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-dark);
}

.ticker-track {
  display: inline-flex;
  padding: 8px 0;
  animation: scrollTicker 28s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-track span::before {
  content: "●";
  color: var(--signal);
  margin-right: 10px;
  font-size: 9px;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-signal {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(194, 40, 40, 0.6);
}

.btn-signal:hover {
  background: var(--signal-dark);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--signal-dark);
  background: rgba(194, 40, 40, 0.09);
  border: 1px solid rgba(194, 40, 40, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(194, 40, 40, 0.18);
}

h1.headline {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1.headline .accent {
  color: var(--signal);
}

.sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--steel);
  max-width: 440px;
  margin: 22px 0 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}

.play-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.stat-strip {
  display: flex;
  gap: 0;
  font-family: var(--mono);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  max-width: 480px;
}

.stat {
  flex: 1;
  padding-right: 18px;
}

.stat b {
  display: block;
  font-size: 22px;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 800;
}

.stat span {
  font-size: 11px;
  color: var(--steel-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* phone mock */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.radar {
  position: absolute;
  width: 650px;
  height: 650px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.radar span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(194, 40, 40, 0.4);
  box-shadow: 0 0 25px rgba(194, 40, 40, 0.25);
  opacity: 0;
  animation: pulse 3s ease-out infinite backwards;
  will-change: transform, opacity;
}

.radar span:nth-child(2) {
  animation-delay: 1s;
}

.radar span:nth-child(3) {
  animation-delay: 2s;
}

@keyframes pulse {
  0% {
    transform: scale(0.2);
    opacity: 0.95;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.hero-phone-img {
  position: relative;
  z-index: 2;
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 45px rgba(11, 22, 38, 0.35));
  transition: transform 0.3s ease;
}

.hero-phone-img:hover {
  transform: translateY(-6px);
}

.phone {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 572px;
  background: var(--ink);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(11, 22, 38, 0.45), 0 0 0 1px rgba(11, 22, 38, 0.06);
}

.phone-screen {
  background: var(--paper-2);
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel);
  padding: 14px 18px 0;
}

.phone-topbar {
  padding: 14px 18px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(194, 40, 40, 0.2);
}

.phone-title {
  font-weight: 800;
  font-size: 13px;
}

.phone-map {
  margin: 14px 18px;
  height: 150px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(91, 107, 124, 0.08) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(91, 107, 124, 0.08) 0 1px, transparent 1px 24px),
    #E4E9EE;
  position: relative;
}

.pin {
  position: absolute;
  top: 44%;
  left: 52%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--signal);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(194, 40, 40, 0.18);
}

.phone-fields {
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field-box {
  border: 1.3px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  background: var(--paper);
}

.phone-submit {
  margin: 16px 18px 18px;
  margin-top: auto;
  background: var(--signal);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---------- section shared ---------- */
section {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--signal-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-desc {
  font-size: 17px;
  color: var(--steel);
  margin-top: 16px;
  line-height: 1.55;
  max-width: 520px;
}

/* ---------- process ---------- */
.process {
  position: relative;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
  align-items: flex-start;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--signal) 50%, transparent 50%);
  background-size: 16px 2px;
  opacity: 0.45;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  perspective: 1000px;
}

.step-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 0 6px var(--paper), 0 6px 16px rgba(10, 44, 76, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover .step-index {
  background: var(--signal);
  transform: scale(1.1);
}

.step-phone-3d {
  width: 100%;
  max-width: 220px;
  margin-bottom: 24px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(6deg) translateZ(0);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.step:nth-child(even) .step-phone-3d {
  transform: rotateY(8deg) rotateX(6deg) translateZ(0);
}

.step-phone-3d::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(10, 44, 76, 0.28) 0%, transparent 75%);
  border-radius: 50%;
  transform: rotateX(80deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.step-phone-3d img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 20px 30px rgba(10, 44, 76, 0.22)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.step:hover .step-phone-3d {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px) scale(1.04);
}

.step:hover .step-phone-3d img {
  filter: drop-shadow(0 30px 45px rgba(10, 44, 76, 0.32)) drop-shadow(0 8px 14px rgba(194, 40, 40, 0.15));
}

.step:hover .step-phone-3d::after {
  opacity: 0.6;
  transform: rotateX(80deg) scale(1.2);
}

.step-text {
  padding: 0 4px;
}

.step-text h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.step-text p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
}

/* ---------- features section ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(10, 44, 76, 0.06);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--ink-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 75, 137, 0.25);
  box-shadow: 0 20px 40px -12px rgba(10, 44, 76, 0.14);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11, 75, 137, 0.08);
  border: 1px solid rgba(11, 75, 137, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-bottom: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.feature-icon ion-icon {
  font-size: 26px;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(194, 40, 40, 0.1);
  border-color: rgba(194, 40, 40, 0.2);
  color: var(--signal);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

@media (max-width:960px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- pwa install guide (compact) ---------- */
.pwa-guide-compact {
  margin-top: 44px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px -10px rgba(10, 44, 76, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pwa-guide-compact:hover {
  box-shadow: 0 20px 40px -12px rgba(10, 44, 76, 0.12);
}

.pwa-compact-bar {
  background: linear-gradient(90deg, rgba(10, 44, 76, 0.04) 0%, rgba(194, 40, 40, 0.04) 100%);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pwa-compact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pwa-compact-badge ion-icon {
  font-size: 14px;
  color: var(--caution);
}

.pwa-compact-subtitle {
  font-size: 13px;
  color: var(--steel);
  font-weight: 500;
}

.pwa-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.pwa-compact-card {
  padding: 24px 28px;
  transition: background-color 0.2s ease;
}

.pwa-compact-card:first-child {
  border-right: 1px solid var(--line);
}

.pwa-compact-card:hover {
  background: rgba(255, 255, 255, 0.6);
}

.pwa-mini-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pwa-platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.pwa-platform-icon.android {
  background: rgba(61, 220, 132, 0.15);
  color: #1FB363;
}

.pwa-platform-icon.apple {
  background: rgba(11, 27, 43, 0.08);
  color: var(--ink);
}

.pwa-mini-head h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 2px 0;
}

.pwa-browser-tag {
  font-size: 11px;
  color: var(--steel);
  font-family: var(--mono);
}

.pwa-mini-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.pwa-mini-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.4;
}

.pwa-mini-steps .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-mini-launch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--signal);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -2px rgba(194, 40, 40, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-mini-launch:hover {
  background: var(--signal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(194, 40, 40, 0.6);
}

.btn-mini-launch ion-icon {
  font-size: 12px;
}

@media (max-width: 800px) {
  .pwa-compact-grid {
    grid-template-columns: 1fr;
  }
  .pwa-compact-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- dashboard section ---------- */
.dash-section {
  border: 1px solid var(--line-dark);
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(194, 40, 40, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse at 15% 100%, rgba(11, 75, 137, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #071D33 0%, #04101D 100%);
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(194, 40, 40, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse at 15% 100%, rgba(11, 75, 137, 0.35) 0%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, #071D33 0%, #04101D 100%);
  color: #fff;
  border-radius: 28px;
  margin: 0 32px;
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
}

.dash-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), #4FD186, transparent);
  pointer-events: none;
}

.dash-section .section-title {
  color: #ffffff;
}

.dash-section .section-desc {
  color: var(--steel-light);
}

.dash-section .section-tag {
  color: var(--caution);
}

.dash-mac-display {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.dash-mac-img {
  max-width: 100%;
  width: 960px;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.dash-mac-img:hover {
  transform: translateY(-6px) scale(1.015);
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.7));
}

/* ---------- final cta ---------- */
.final-cta {
  text-align: center;
  padding: 120px 0 100px;
}

.final-cta h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.95;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 17px;
  color: var(--steel);
  max-width: 480px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(194, 40, 40, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse at 15% 100%, rgba(11, 75, 137, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #071D33 0%, #04101D 100%);
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(194, 40, 40, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse at 15% 100%, rgba(11, 75, 137, 0.35) 0%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, #071D33 0%, #04101D 100%);
  color: var(--paper-2);
  padding: 56px 0 44px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), #4FD186, transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-brand-badge:hover {
  border-color: rgba(194, 40, 40, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(194, 40, 40, 0.25);
}

.footer-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.footer-powered {
  font-size: 14px;
  color: var(--steel-light);
  font-weight: 500;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
}

@media (max-width:960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .dash-section {
    padding: 56px 24px;
    margin: 0 16px;
  }

  .wrap {
    padding: 0 20px;
  }
}