/* Homepage conversion upgrade. Scoped to elements added in index.html. */
.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: rgba(245, 242, 236, 0.68);
  font-size: 0.74rem;
  font-weight: 500;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof-row i {
  color: var(--gold);
  font-size: 0.72rem;
}

.opportunity-section {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(201, 168, 64, 0.1), transparent 28%),
    linear-gradient(180deg, #050505 0%, #090909 100%);
}

.opportunity-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(201, 168, 64, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 64, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

.opportunity-shell {
  position: relative;
  border: 1px solid rgba(201, 168, 64, 0.2);
  border-radius: 22px;
  padding: 42px;
  background: rgba(10, 10, 10, 0.94);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.opportunity-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(232, 201, 88, 0.08), transparent 35%);
}

.opportunity-intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 32px;
}

.opportunity-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.opportunity-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
}

.opportunity-intro p {
  max-width: 640px;
  margin: 0;
  color: var(--text-2);
}

.opportunity-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.opportunity-tabs {
  display: grid;
  gap: 10px;
}

.opportunity-tab {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.opportunity-tab:hover,
.opportunity-tab.active {
  border-color: rgba(201, 168, 64, 0.42);
  background: rgba(201, 168, 64, 0.08);
  transform: translateX(4px);
}

.opportunity-tab:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.opportunity-tab-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(201, 168, 64, 0.1);
  border: 1px solid rgba(201, 168, 64, 0.16);
}

.opportunity-tab strong,
.opportunity-tab small {
  display: block;
}

.opportunity-tab strong {
  margin-bottom: 3px;
  font-size: 0.93rem;
}

.opportunity-tab small {
  color: var(--text-3);
  font-size: 0.73rem;
}

.opportunity-arrow {
  color: rgba(201, 168, 64, 0.35);
  transition: transform 0.25s ease, color 0.25s ease;
}

.opportunity-tab.active .opportunity-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

.opportunity-result {
  position: relative;
  min-height: 296px;
  padding: 28px;
  border: 1px solid rgba(201, 168, 64, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(201, 168, 64, 0.09), transparent 50%),
    #0d0d0d;
  overflow: hidden;
}

.opportunity-result::after {
  content: 'AI';
  position: absolute;
  right: -10px;
  bottom: -56px;
  color: rgba(201, 168, 64, 0.045);
  font-family: var(--font-display);
  font-size: 13rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.opportunity-result-topline,
.opportunity-metrics,
.uae-reach {
  display: flex;
  align-items: center;
}

.uae-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.uae-guide-link:hover,
.uae-guide-link:focus-visible {
  color: #f0d274;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.opportunity-result-topline {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opportunity-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8ed7a4;
}

.opportunity-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.55);
}

.opportunity-result-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #080808;
  font-size: 1.1rem;
  background: var(--gold-gradient);
  box-shadow: 0 0 32px rgba(201, 168, 64, 0.18);
}

.opportunity-result h3,
.opportunity-result > p,
.opportunity-metrics,
.opportunity-cta {
  position: relative;
  z-index: 1;
}

.opportunity-result h3 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.opportunity-result > p {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--text-2);
}

.opportunity-metrics {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.opportunity-metrics span {
  padding: 7px 10px;
  border: 1px solid rgba(201, 168, 64, 0.14);
  border-radius: 7px;
  color: var(--text-3);
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
}

.opportunity-metrics strong {
  color: var(--gold-light);
  font-weight: 700;
}

.opportunity-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.opportunity-cta i {
  transition: transform 0.2s ease;
}

.opportunity-cta:hover i {
  transform: translateX(4px);
}

.opportunity-result.is-changing > *:not(.opportunity-result-topline) {
  animation: opportunitySwap 0.32s ease both;
}

.uae-reach {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.uae-reach span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.73rem;
}

.uae-reach i {
  color: var(--gold);
}

.uae-reach strong {
  color: var(--text-2);
  font-weight: 600;
}

@keyframes opportunitySwap {
  from { opacity: 0.25; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-proof-row { justify-content: center; }
  .opportunity-layout { grid-template-columns: 1fr; }
  .opportunity-tab:hover,
  .opportunity-tab.active { transform: none; }
}

@media (max-width: 680px) {
  .opportunity-section { padding: 62px 0; }
  .opportunity-shell { padding: 26px 18px; border-radius: 16px; }
  .opportunity-intro { margin-bottom: 24px; }
  .opportunity-tab { min-height: 82px; grid-template-columns: 42px minmax(0, 1fr) 16px; padding: 14px; }
  .opportunity-tab-icon { width: 42px; height: 42px; }
  .opportunity-result { padding: 22px 18px; }
  .opportunity-result-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .uae-reach { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-proof-row { display: grid; gap: 8px; }
  .opportunity-tab small { line-height: 1.4; }
  .uae-reach { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .opportunity-tab,
  .opportunity-arrow,
  .opportunity-cta i { transition: none; }
  .opportunity-result.is-changing > * { animation: none; }
}
