/* AGCYS additions on top of the compiled main.css (purged Tailwind build —
   no build step available, so new components are hand-written here rather
   than relying on arbitrary utility classes that may not exist). */

/* ---------- Text wordmark logo ---------- */
.agcys-logo {
  font-family: var(--font-ibm-plex-mono);
  background-image: var(--color-gradient-19);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.agcys-logo-full { font-size: 22px; }
.agcys-logo-mark { font-size: 18px; }
footer .agcys-logo-full,
.footer-logo .agcys-logo-full { font-size: 26px; }

/* ---------- Pill / chip row (service capacity strip) ---------- */
.agcys-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.agcys-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  white-space: nowrap;
}
.agcys-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-image: var(--color-gradient-19);
  flex-shrink: 0;
}

/* ---------- Region selector (pricing) ---------- */
.agcys-region-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.agcys-region-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-inter-tight, inherit);
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.agcys-region-btn:hover { color: rgba(255, 255, 255, 0.85); }
.agcys-region-btn[aria-checked="true"] {
  background-image: linear-gradient(135deg, #2bc0e4, #eaecc6);
  color: #06131a;
  font-weight: 600;
}

/* ---------- FAQ accordion ---------- */
.agcys-faq { border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.agcys-faq + .agcys-faq { margin-top: 12px; border-radius: 16px; }
.agcys-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
}
.agcys-faq summary::-webkit-details-marker { display: none; }
.agcys-faq summary .agcys-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}
.agcys-faq[open] summary .agcys-faq-chevron { transform: rotate(180deg); }
.agcys-faq-body {
  padding: 0 24px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Calculator ---------- */
.agcys-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 768px) {
  .agcys-calc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.agcys-calc-field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}
.agcys-calc-field input,
.agcys-calc-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
}
.agcys-calc-field input:focus,
.agcys-calc-field select:focus {
  outline: none;
  border-color: #2bc0e4;
}
.agcys-calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 768px) {
  .agcys-calc-results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.agcys-calc-result {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.agcys-calc-result .agcys-calc-value {
  font-family: var(--font-ibm-plex-mono);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background-image: var(--color-gradient-19);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.agcys-calc-result .agcys-calc-label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Callout / disclaimer box ---------- */
.agcys-callout {
  border: 1px solid rgba(43, 192, 228, 0.3);
  background: linear-gradient(135deg, rgba(43, 192, 228, 0.08), rgba(234, 236, 198, 0.04));
  border-radius: 16px;
  padding: 22px 26px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Form select (matches site text-input styling) ---------- */
.agcys-select {
  width: 100%;
  border-radius: 6px;
  border: 1px solid color-mix(in oklab, var(--color-stroke-1) 11%, transparent);
  background: transparent;
  padding: 12px 18px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-inter-tight);
  font-size: 15px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.agcys-select:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--color-stroke-1) 70%, transparent);
}
.agcys-select option {
  background: #0a0e14;
  color: #fff;
}

/* ---------- Full-page loader ---------- */
.agcys-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background-13, #0d0d12);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.agcys-preloader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(43, 192, 228, 0.16) 0%, rgba(234, 236, 198, 0.05) 45%, transparent 72%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  pointer-events: none;
}
.agcys-preloader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.agcys-preloader-mark {
  font-size: 34px;
  animation: agcys-preloader-breathe 1.8s ease-in-out infinite;
}
@media (min-width: 640px) {
  .agcys-preloader-mark { font-size: 48px; }
}
.agcys-preloader-tagline {
  font-family: var(--font-ibm-plex-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.agcys-preloader-bar {
  position: relative;
  width: 160px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.agcys-preloader-bar span {
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background-image: linear-gradient(90deg, #2bc0e4, #eaecc6);
  animation: agcys-preloader-sweep 1.15s ease-in-out infinite;
}
.agcys-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes agcys-preloader-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(0.97); }
}
@keyframes agcys-preloader-sweep {
  0% { left: -40%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .agcys-preloader-mark { animation: none; }
  .agcys-preloader-bar span { animation: none; left: 0; width: 100%; opacity: 0.55; }
}

/* ---------- Sign-up checkbox gate ---------- */
.agcys-consent { display: flex; align-items: flex-start; gap: 10px; }
.agcys-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #2bc0e4;
  flex-shrink: 0;
}
.agcys-consent label { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.5; }
