@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-400.woff2?v=1") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-500.woff2?v=1") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-600.woff2?v=1") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-700.woff2?v=1") format("woff2");
}

:root {
  --blue-top: #0064f9;
  --blue-bottom: #0052cc;
  --blue-soft: #73abff;
  --text-soft: #c9dfff;
  --green: #00a13c;
  --ink: #2f2f2f;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  background: var(--blue-bottom);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.landing-page {
  position: relative;
  min-height: max(100svh, 917px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue-bottom) 100%);
}

.landing-content {
  position: absolute;
  z-index: 2;
  top: 84px;
  left: 50%;
  width: min(350px, calc(100vw - 32px));
  transform: translateX(-50%);
}

.capture-card {
  position: relative;
  width: 100%;
  height: 354px;
  overflow: hidden;
  border: 2.381px solid #63a2ff;
  border-radius: 48.81px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 43, 111, 0.95);
  animation: landing-rise 680ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-badge {
  position: absolute;
  top: 36.52px;
  left: 50%;
  display: grid;
  width: 126.19px;
  height: 126.19px;
  transform: translateX(-50%);
  place-items: center;
  overflow: hidden;
  border: 4.762px solid #e6e6e6;
  border-radius: 50%;
  background: linear-gradient(216.54deg, #01a2dd 12.09%, #0061f2 71.77%);
  animation: logo-float 5s 1.1s ease-in-out infinite;
}

.logo-badge img {
  display: block;
  width: 75.54px;
  height: 73.08px;
}

.brand-lockup {
  position: absolute;
  top: 183.2px;
  left: 50%;
  width: 210px;
  transform: translateX(-50%);
  text-align: center;
  animation: landing-fade-up 560ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.brand-title-row h1 {
  margin: 0;
  font-size: 22.98px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: -0.54px;
}

.brand-title-row img {
  width: 18.46px;
  height: 17.44px;
}

.brand-lockup > p {
  margin: -1px 0 0;
  color: #636363;
  font-size: 14px;
  line-height: 18px;
}

.group-button {
  position: absolute;
  top: 251px;
  left: 50%;
  display: flex;
  width: min(306.1px, calc(100% - 40px));
  height: 78.57px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 65.48px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(0, 128, 48, 0.15);
  font-size: 19.05px;
  font-weight: 700;
  line-height: 32.74px;
  letter-spacing: 0.31px;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  animation:
    landing-fade-up 580ms 340ms cubic-bezier(0.22, 1, 0.36, 1) both,
    cta-breathe 4.5s 1.6s ease-in-out infinite;
}

.group-button:hover {
  transform: translateX(-50%) translateY(-2px);
  background: #008f35;
  box-shadow: 0 12px 24px rgba(0, 112, 42, 0.22);
}

.group-button:active {
  transform: translateX(-50%) translateY(0);
}

.group-button:focus-visible,
.whatsapp-shortcut:focus-visible,
.admin-back-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.partner-row {
  position: absolute;
  top: 377px;
  left: 50%;
  display: flex;
  width: 213.81px;
  height: 33.16px;
  transform: translateX(-50%);
  align-items: center;
  gap: 8.91px;
  animation: landing-fade-up 520ms 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.partner-row span {
  flex: 0 0 87px;
  color: #fff;
  font-size: 12.48px;
  line-height: 16px;
  text-align: center;
}

.partner-row img {
  width: 117.9px;
  height: 33.16px;
  object-fit: contain;
}

.feature-list {
  position: absolute;
  top: 453px;
  left: 21px;
  display: flex;
  width: 294px;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: grid;
  min-height: 52px;
  grid-template-columns: 49px 1fr;
  gap: 9px;
  align-items: center;
  animation: landing-fade-up 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-item:nth-child(1) {
  animation-delay: 360ms;
}

.feature-item:nth-child(2) {
  animation-delay: 440ms;
}

.feature-item:nth-child(3) {
  animation-delay: 520ms;
}

.feature-item > img {
  width: 49px;
  height: 45.58px;
}

.feature-item h2 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.2px;
}

.feature-item p {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: -0.12px;
  white-space: nowrap;
}

.feature-item strong {
  color: #fff;
  font-weight: 500;
}

.background-symbol {
  position: absolute;
  z-index: 1;
  top: 763px;
  left: -84px;
  width: 230.75px;
  height: 223.25px;
  pointer-events: none;
  animation: ornament-drift 12s ease-in-out infinite alternate;
}

.whatsapp-shortcut {
  position: absolute;
  z-index: 3;
  top: 788px;
  left: calc(50% + 94px);
  display: block;
  width: 85px;
  height: 85px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  transition: transform 160ms ease;
  animation:
    landing-fade 520ms 560ms ease-out both,
    whatsapp-float 4s 1.2s ease-in-out infinite;
}

.whatsapp-shortcut:hover {
  transform: translateY(-3px) scale(1.03);
}

.landing-page footer {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue-soft);
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
  animation: landing-fade 520ms 650ms ease-out both;
}

@keyframes landing-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes landing-fade-up {
  from {
    opacity: 0;
    translate: 0 12px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes landing-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes logo-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -3px;
  }
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow: 0 8px 18px rgba(0, 128, 48, 0.15);
  }

  50% {
    box-shadow: 0 10px 24px rgba(0, 128, 48, 0.25);
  }
}

@keyframes ornament-drift {
  from {
    translate: 0 0;
  }

  to {
    translate: 8px -5px;
  }
}

@keyframes whatsapp-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

.admin-shell {
  display: grid;
  min-height: 100svh;
  padding: 32px 20px;
  place-items: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(145deg, #0872ff 0%, #0052cc 78%);
}

.admin-card {
  width: min(100%, 520px);
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(0, 35, 92, 0.28);
}

.admin-loading {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #64768d;
  font-size: 13px;
}

.admin-loading p {
  margin: 0;
}

.admin-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #dce8f8;
  border-top-color: #0064f9;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-login {
  text-align: center;
}

.admin-brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  place-items: center;
  border: 4px solid #e9eef6;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #00a3dd, #0061f2);
  font-size: 18px;
  font-weight: 700;
}

.admin-eyebrow {
  margin: 0 0 7px;
  color: #0061e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.admin-card h1 {
  margin: 0;
  color: #18304f;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.admin-intro {
  max-width: 390px;
  margin: 12px auto 24px;
  color: #65758a;
  font-size: 14px;
  line-height: 1.6;
}

.admin-form {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  text-align: left;
}

.admin-form label {
  margin: 0 0 7px;
  color: #263d5b;
  font-size: 13px;
  font-weight: 700;
}

.admin-form input {
  width: 100%;
  height: 50px;
  margin: 0 0 17px;
  padding: 0 15px;
  border: 1px solid #ced8e5;
  border-radius: 13px;
  outline: none;
  color: #18304f;
  background: #fbfdff;
  font-size: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.admin-form input:focus {
  border-color: #0064f9;
  box-shadow: 0 0 0 4px rgba(0, 100, 249, 0.11);
}

.admin-form button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  background: #0064f9;
  box-shadow: 0 10px 24px rgba(0, 100, 249, 0.22);
  font-weight: 700;
  transition: background-color 150ms ease, transform 150ms ease;
}

.admin-form button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #0056d8;
}

.admin-form button:disabled,
.admin-logout:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-form button:focus-visible,
.admin-logout:focus-visible {
  outline: 3px solid rgba(0, 100, 249, 0.28);
  outline-offset: 3px;
}

.admin-back-link {
  display: inline-block;
  margin-top: 24px;
  color: #53677f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.admin-back-link:hover {
  color: #0064f9;
}

.admin-alert {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.admin-alert--error {
  color: #9f2936;
  background: #fff0f2;
}

.admin-alert--success {
  color: #087639;
  background: #eaf9f0;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-logout {
  padding: 8px 13px;
  border: 1px solid #d4deea;
  border-radius: 10px;
  cursor: pointer;
  color: #52667e;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.admin-status {
  display: flex;
  margin-top: 25px;
  align-items: center;
  gap: 8px;
  color: #5b6f86;
  font-size: 12px;
}

.admin-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #13ac57;
  box-shadow: 0 0 0 4px rgba(19, 172, 87, 0.12);
}

.admin-settings-form {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #e5ebf2;
}

.admin-help {
  margin: -2px 0 10px;
  color: #75859a;
  font-size: 12px;
  line-height: 1.5;
}

.admin-preview {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid #e0e7ef;
  border-radius: 13px;
  background: #f7faff;
}

.admin-preview p {
  margin: 0 0 5px;
  color: #718197;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.admin-preview a {
  display: block;
  overflow: hidden;
  color: #0061e8;
  font-size: 13px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .landing-page {
    min-height: max(100svh, 1024px);
  }

  .landing-content {
    top: 159px;
    left: calc(50% + 19px);
  }

  .partner-row {
    top: 391px;
  }

  .feature-list {
    top: 467px;
  }

  .background-symbol {
    top: 493px;
    left: -273px;
    width: 799.25px;
    height: 773.28px;
  }

  .whatsapp-shortcut {
    display: none;
  }

  .landing-page footer {
    bottom: 32px;
  }
}

@media (max-width: 390px) {
  .landing-content {
    top: 58px;
  }

  .landing-page {
    min-height: max(100svh, 890px);
  }

  .feature-list {
    left: max(8px, calc((100% - 308px) / 2));
  }

  .feature-item {
    gap: 7px;
  }

  .feature-item p {
    font-size: 11.2px;
  }

  .whatsapp-shortcut {
    top: 755px;
    right: 20px;
    left: auto;
  }
}

@media (max-width: 560px) {
  .admin-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .admin-header {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
