/* Economic Insights summary block (rendered under the hero in features.html).
   All class names are prefixed with `oray-econ-` to avoid colliding with the
   Webflow-generated stylesheet. */

.oray-econ-section {
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0) 0%, rgba(8, 14, 24, 0.6) 60%, rgba(8, 14, 24, 0) 100%);
}

.oray-econ-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.oray-econ-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.oray-econ-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(127, 217, 178, 0.9);
  margin: 0 0 12px;
}

.oray-econ-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  color: #f4f6fb;
  margin: 0;
}

.oray-econ-subtitle {
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 246, 251, 0.65);
  max-width: 620px;
  margin: 12px 0 0;
}

.oray-econ-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #7fd9b2;
  text-decoration: none;
  border: 1px solid rgba(127, 217, 178, 0.3);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.oray-econ-link:hover {
  background: rgba(127, 217, 178, 0.12);
  transform: translateY(-1px);
}

.oray-econ-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 960px) {
  .oray-econ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .oray-econ-grid { grid-template-columns: 1fr; }
}

.oray-econ-card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: rgba(15, 22, 36, 0.72);
  border: 1px solid rgba(127, 217, 178, 0.14);
  box-shadow: 0 18px 40px -28px rgba(8, 14, 24, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.oray-econ-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 0% 0%, rgba(127, 217, 178, 0.08) 0%, rgba(127, 217, 178, 0) 60%);
}

.oray-econ-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 246, 251, 0.55);
  margin: 0 0 14px;
}

.oray-econ-card-value {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  color: #f4f6fb;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

.oray-econ-card-unit {
  margin-left: 6px;
  font-size: 0.55em;
  font-weight: 500;
  color: rgba(244, 246, 251, 0.55);
  letter-spacing: 0.04em;
}

.oray-econ-card-meta {
  margin: 12px 0 0;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 12.5px;
  color: rgba(244, 246, 251, 0.55);
}

.oray-econ-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ddca6;
  box-shadow: 0 0 0 0 rgba(93, 220, 166, 0.7);
  animation: orayEconPulse 1.8s ease-out infinite;
}

@keyframes orayEconPulse {
  0%   { box-shadow: 0 0 0 0 rgba(93, 220, 166, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(93, 220, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 220, 166, 0); }
}

.oray-econ-skeleton {
  display: inline-block;
  height: 1em;
  min-width: 4ch;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: orayEconShimmer 1.4s ease-in-out infinite;
  color: transparent;
}

@keyframes orayEconShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.oray-econ-progress-card {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(15, 22, 36, 0.72);
  border: 1px solid rgba(127, 217, 178, 0.14);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

@media (max-width: 720px) {
  .oray-econ-progress-card { grid-template-columns: 1fr; }
}

.oray-econ-progress-text {
  font-family: "Urbanist", "Montserrat", sans-serif;
  color: rgba(244, 246, 251, 0.7);
  font-size: 14px;
}

.oray-econ-progress-text strong {
  color: #f4f6fb;
  font-weight: 600;
}

.oray-econ-progress-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(127, 217, 178, 0.08);
  overflow: hidden;
}

.oray-econ-progress-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg, #5ddca6 0%, #7fd9b2 60%, #b9efd5 100%);
  transition: right 0.8s ease;
}

.oray-econ-progress-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: orayEconShimmer 2.6s ease-in-out infinite;
  background-size: 200% 100%;
}

.oray-econ-progress-meta {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: #f4f6fb;
  white-space: nowrap;
}

.oray-econ-progress-meta strong { color: #5ddca6; }

.oray-econ-error-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 105, 105, 0.12);
  color: #ff8b8b;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.oray-econ-card[data-state="error"] .oray-econ-card-value {
  color: rgba(244, 246, 251, 0.4);
}

/* ---------- Vault purchase flow (`#download-vault`) ---------- */
.ovp-section {
  padding-top: 40px;
}

.ovp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

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

.ovp-form {
  margin-top: 28px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ovp-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.ovp-label {
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 13px;
  color: #f4f6fb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.ovp-input {
  width: 96px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: #f4f6fb;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.ovp-input:focus {
  outline: none;
  border-color: #5ddca6;
}

.ovp-total {
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 14px;
  color: #f4f6fb;
  margin: 0;
}

.ovp-total strong {
  color: #5ddca6;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.ovp-buy-button {
  margin-top: 4px;
}

.ovp-buy-button[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.ovp-status {
  margin: 18px 0 0;
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 13px;
  color: #f4f6fb;
  min-height: 18px;
}

.ovp-status[data-state="error"] { color: #ff8b8b; }
.ovp-status[data-state="success"] { color: #5ddca6; }

.ovp-results {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ovp-results li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Urbanist", "Montserrat", sans-serif;
  font-size: 13px;
  color: #f4f6fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ovp-results li[data-state="error"] {
  background: rgba(255, 105, 105, 0.08);
  border-color: rgba(255, 105, 105, 0.2);
  color: #ffb3b3;
}

.ovp-results code {
  font-family: "Montserrat", monospace;
  font-size: 11px;
  color: rgba(244, 246, 251, 0.6);
}
