:root {
  --bg: #091221;
  --bg-soft: #0f1c31;
  --card: #11233f;
  --card-2: #152b4d;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f8ff;
  --muted: #b5c2df;
  --brand: #2dd4bf;
  --brand-strong: #06b6d4;
  --accent: #f59e0b;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(2, 9, 24, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Manrope, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 90% -20%, rgba(45, 212, 191, 0.2), transparent 70%),
    radial-gradient(1000px 400px at 10% -10%, rgba(6, 182, 212, 0.25), transparent 60%),
    linear-gradient(180deg, #06101d 0%, #0a1628 45%, #091221 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  z-index: -1;
}

.shell {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.topbar.scrolled {
  background: rgba(10, 22, 40, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--brand);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-text {
  font-family: Sora, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.3rem 0.48rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: rgba(45, 212, 191, 0.18);
  color: var(--text);
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.menu a:hover {
  color: var(--text);
}

.btn {
  border-radius: 999px;
  padding: 0.58rem 1.05rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.solid {
  color: #052426;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 24px rgba(14, 173, 197, 0.35);
}

.btn.solid:hover {
  box-shadow: 0 12px 30px rgba(14, 173, 197, 0.45);
}

.btn.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn.lg {
  padding: 0.82rem 1.35rem;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.hero {
  padding: 4.5rem 0 1.8rem;
  position: relative;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 240px at 40% 8%, rgba(245, 158, 11, 0.13), transparent 78%),
    radial-gradient(560px 260px at 92% 30%, rgba(45, 212, 191, 0.1), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  font-family: Sora, sans-serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.7rem);
  letter-spacing: -0.02em;
}

h1 span {
  color: var(--brand);
}

.lead {
  margin: 1.1rem 0 1.7rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-proof {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.32rem;
  color: #c7d3ee;
  font-size: 0.96rem;
}

.hero-proof li::before {
  content: "•";
  color: var(--brand);
  margin-right: 0.5rem;
}

.hero-panel {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #18345e 0%, #102443 45%, #0d1f3a 100%);
  padding: 0.8rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 0;
}

.hero-monitor {
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.monitor-frame {
  position: relative;
  background: linear-gradient(180deg, #1a1f2d 0%, #0d1320 100%);
  border-radius: 26px;
  padding: 0.8rem 0.8rem 0.95rem;
  width: min(100%, 680px);
  aspect-ratio: 16 / 11;
  margin: 0 auto;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 26px 60px rgba(0, 0, 0, 0.45);
}

.monitor-bezel {
  background: linear-gradient(180deg, #e8edf5 0%, #cfd8e6 100%);
  border-radius: 18px;
  padding: 0.5rem;
  height: 100%;
}

.monitor-camera {
  width: 58px;
  height: 7px;
  margin: 0 auto 0.42rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.32);
}

.monitor-screen {
  background: #dfe7f3;
  border-radius: 14px;
  padding: 0.42rem;
  border: 1px solid rgba(63, 83, 113, 0.14);
  height: calc(100% - 0.8rem);
  overflow: hidden;
}

.monitor-shot {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
}

.app-shell {
  background: #f4f7fb;
  border-radius: 11px;
  overflow: hidden;
  color: #22314d;
  min-height: 100%;
  height: 100%;
}

.app-topbar {
  height: 52px;
  background: linear-gradient(90deg, #1f78d1 0%, #0e73c6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.85rem;
}

.app-topbar-left,
.app-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.app-menu-icon {
  width: 20px;
  height: 14px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: relative;
}

.app-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  border-top: 2px solid #fff;
}

.app-brand {
  font-family: Sora, sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
}

.app-version {
  font-size: 0.66rem;
  opacity: 0.85;
}

.notif-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  position: relative;
}

.notif-dot::after {
  content: "3";
  position: absolute;
  top: -9px;
  right: -11px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-size: 0.56rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.user-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.6rem;
  font-weight: 800;
}

.app-body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.62rem;
  min-height: calc(100% - 52px);
  padding-top: 0.3rem;
}

.app-sidebar {
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
  border-radius: 10px;
  padding: 0.52rem 0.48rem;
  display: grid;
  align-content: start;
  gap: 0.3rem;
  font-size: 0.6rem;
  border: 1px solid rgba(63, 83, 113, 0.08);
}

.sidebar-chip {
  border-radius: 8px;
  padding: 0.28rem 0.38rem;
  color: #667791;
  background: transparent;
}

.sidebar-chip.is-active {
  background: #e7f0ff;
  color: #1e57b4;
  font-weight: 800;
}

.app-dashboard {
  background: #fff;
  border-radius: 10px;
  padding: 0.58rem;
  border: 1px solid rgba(63, 83, 113, 0.08);
}

.dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  background: #f7f9fc;
  border-radius: 10px;
  padding: 0.24rem;
  margin-bottom: 0.5rem;
}

.tab {
  text-align: center;
  font-size: 0.6rem;
  color: #73819a;
  padding: 0.3rem 0.22rem;
  border-radius: 8px;
}

.tab.is-active {
  background: #fff;
  color: #36567f;
  box-shadow: 0 2px 8px rgba(27, 54, 92, 0.08);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.48rem;
}

.kpi-grid article {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5ebf2;
  padding: 0.44rem 0.48rem 0.4rem;
  box-shadow: 0 4px 12px rgba(18, 34, 157, 0.04);
}

.kpi-grid small {
  display: block;
  color: #8b97a8;
  font-size: 0.52rem;
  margin-bottom: 0.1rem;
}

.kpi-grid strong {
  display: block;
  color: #1f6cdd;
  font-size: 0.96rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.kpi-grid .positive {
  color: #2d7c4d;
}

.kpi-grid .negative {
  color: #d34f4f;
}

.kpi-grid span {
  display: block;
  color: #77849a;
  font-size: 0.48rem;
  margin-top: 0.08rem;
}

.second-row {
  margin-bottom: 0.5rem;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.5rem;
}

.chart-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5ebf2;
  padding: 0.5rem;
  min-height: 158px;
}

.chart-card-title {
  font-size: 0.6rem;
  font-weight: 800;
  color: #4a5a74;
  margin-bottom: 0.28rem;
}

.chart-line svg {
  width: 100%;
  height: 92px;
}

.chart-line path {
  fill: none;
  stroke: #61c0df;
  stroke-width: 1.7;
}

.pie-visual {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0.5rem auto 0;
  background:
    conic-gradient(#1f86ff 0 14%, #ff8b3d 14% 28%, #7c3aed 28% 42%, #22c55e 42% 54%, #f59e0b 54% 63%, #14b8a6 63% 72%, #ef4444 72% 84%, #a855f7 84% 100%);
  box-shadow: inset 0 0 0 14px #f8fbff;
}

.pie-visual.large {
  width: 122px;
  height: 122px;
}

.hero-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge {
  position: absolute;
  max-width: 220px;
  font-size: 0.79rem;
  color: #e8f7ff;
  background: rgba(8, 17, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  backdrop-filter: blur(5px);
}

.badge-a {
  left: 14px;
  top: 14px;
}

.badge-b {
  right: 14px;
  bottom: 14px;
}

.strip {
  padding: 1.4rem 0 2rem;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.strip-grid article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
}

.strip-grid strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 1.1rem;
}

.strip-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 4.6rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.045));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 840px;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.55rem);
}

.section-head p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.module-scope {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
}

.module-scope-copy {
  background: linear-gradient(135deg, rgba(21, 43, 77, 0.95), rgba(13, 31, 58, 0.88));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.module-scope-copy strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 1.1rem;
  line-height: 1.35;
}

.module-scope-copy p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.module-pills span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.module-card {
  background: linear-gradient(160deg, rgba(21, 43, 77, 0.86), rgba(14, 32, 59, 0.8));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.52);
}

.module-card h3 {
  font-size: 1.03rem;
  margin-bottom: 0.45rem;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.architecture {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: center;
}

.arch-copy p,
.arch-copy li {
  color: var(--muted);
}

.arch-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.arch-board {
  background: radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.16), transparent 40%), var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.node {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: rgba(9, 18, 33, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.benefit-grid article {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.benefit-grid h3 {
  font-size: 1.06rem;
  margin-bottom: 0.45rem;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.faq-list summary {
  cursor: pointer;
  font-family: Sora, sans-serif;
  font-weight: 700;
}

.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.cta-box {
  background: linear-gradient(135deg, #103056 0%, #0f3f48 100%);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 20px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  align-items: center;
}

.cta-box p {
  color: #d0e4ff;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  padding: 1.7rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 520px;
}

.footer-logo {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  color: var(--brand);
  flex-shrink: 0;
  display: block;
}

.footer-brand img,
.footer-brand svg {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .architecture,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-scope {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    right: 1.25rem;
    top: 74px;
    width: min(360px, calc(100% - 2.5rem));
    background: rgba(12, 24, 44, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 0.5rem 0.2rem;
  }

  .lang-switch {
    width: fit-content;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .app-body {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .kpi-grid,
  .chart-grid {
    grid-template-columns: 1fr 1fr;
  }

  .monitor-frame {
    padding: 0.7rem 0.7rem 1rem;
  }

  .module-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(1160px, calc(100% - 1.25rem));
  }

  .brand-text {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  .hero-badge {
    max-width: 160px;
    font-size: 0.69rem;
    padding: 0.45rem 0.56rem;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-tabs,
  .kpi-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .pie-visual {
    width: 110px;
    height: 110px;
  }

  .pie-visual.large {
    width: 118px;
    height: 118px;
  }
}

/* ─── Contact Form ─────────────────────────────────────────────────────── */

.contact .section-head {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.contact-form {
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(181, 194, 223, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.form-group textarea {
  min-height: 140px;
  line-height: 1.55;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.form-feedback {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.6rem 1rem;
}

.form-feedback.success {
  background: rgba(45, 212, 191, 0.12);
  color: var(--brand);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Loading spinner inside submit button */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.btn.loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0.75;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

