/* Reusable XONTO UI components. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  font-size: 0.98rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--xonto-black);
  color: var(--xonto-white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  background: var(--xonto-white);
  color: var(--xonto-black);
  border-color: var(--xonto-line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(47, 128, 255, 0.5);
  box-shadow: 0 14px 28px rgba(47, 128, 255, 0.12);
}


.app-window {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(217, 224, 234, 0.95);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--xonto-shadow);
  overflow: hidden;
}

.app-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D3D9E3;
}

.traffic span:nth-child(2) { background: #B8C2D1; }
.traffic span:nth-child(3) { background: var(--xonto-blue); }

.window-label {
  color: #516174;
  font-size: 0.9rem;
  font-weight: 750;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-card {
  position: relative;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(217, 224, 234, 0.92);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.mini-card::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  right: -24px;
  bottom: -24px;
  border-radius: 24px;
  background: rgba(47, 128, 255, 0.12);
  transform: rotate(14deg);
}

.mini-card.dark {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.mini-card.blue {
  background: var(--xonto-blue-dark);
  color: #fff;
  border-color: var(--xonto-blue-dark);
}

.mini-kicker {
  display: block;
  margin-bottom: 6px;
  color: inherit;
  opacity: 0.66;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-title {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.22rem;
  font-weight: 950;
  letter-spacing: 0;
}

.mini-url {
  position: absolute;
  left: 18px;
  bottom: 15px;
  color: inherit;
  opacity: 0.62;
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 1;
}

.floating-pill {
  position: absolute;
  right: 24px;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(217, 224, 234, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(9, 24, 51, 0.1);
  color: #516174;
  font-size: 0.82rem;
  font-weight: 650;
}

.floating-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xonto-blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.12);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefit {
  padding: 18px;
  border: 1px solid var(--xonto-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.benefit strong {
  display: block;
  margin-bottom: 4px;
  color: #0D1624;
  font-weight: 950;
}

.benefit span {
  display: block;
  color: var(--xonto-muted);
  font-size: 0.92rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.section-tag span { color: var(--xonto-blue); }

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 24px;
  border: 1px solid rgba(217, 224, 234, 0.95);
  border-radius: var(--xonto-radius);
  background: var(--xonto-card);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(47, 128, 255, 0.38);
  box-shadow: 0 22px 55px rgba(12, 31, 70, 0.12);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--xonto-blue);
  opacity: 0;
  transition: opacity 180ms ease;
}

.app-card:hover::before,
.app-card:focus-visible::before {
  opacity: 1;
}

.app-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #000;
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 950;
  letter-spacing: 0;
}

.app-card:nth-child(2n) .app-icon { background: var(--xonto-blue); }
.app-card:nth-child(3n) .app-icon { background: var(--xonto-blue-soft); color: var(--xonto-blue-dark); }

.app-category {
  color: var(--xonto-muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  border: 1px solid rgba(217, 224, 234, 0.86);
  border-radius: 18px;
  background: #F7FAFF;
  overflow: hidden;
}

.app-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.app-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 950;
  margin-bottom: 12px;
}

.app-card p {
  margin: 0;
  color: var(--xonto-muted);
  font-size: 0.98rem;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 26px;
}

.app-url {
  color: var(--xonto-muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
  transition: background 180ms ease;
}

.app-card:hover .app-cta,
.app-card:focus-visible .app-cta {
  background: var(--xonto-blue-dark);
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.principle-item .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--xonto-blue);
  color: #fff;
  font-weight: 950;
}

.principle-item strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 950;
}

.principle-item span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.privacy-points {
  display: grid;
  gap: 12px;
}

.privacy-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.privacy-dot {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--xonto-blue);
  box-shadow: inset 0 0 0 5px #fff;
  flex: 0 0 auto;
}

.privacy-point strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 950;
}
