.trust-strip {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 42px;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(3, 17, 31, 0.94);
  border-bottom: 2px solid var(--gold-500);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip i {
  color: var(--gold-500);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(3, 17, 31, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-grid;
  gap: 1px;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 0.95;
}

.brand > span {
  font-size: 1.72rem;
  font-weight: 950;
}

.brand-mark {
  color: var(--gold-500);
}

.brand small {
  color: var(--steel-300);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--steel-300);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--speed) var(--ease);
}

.nav-links a:not(.nav-action)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-500);
  transition: transform var(--speed) var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-action {
  padding: 10px 16px;
  color: var(--navy-950) !important;
  background: var(--gold-500);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://www.arabsharing.com/do.php?img=375431");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 17, 31, 0.96) 0%, rgba(3, 17, 31, 0.78) 46%, rgba(3, 17, 31, 0.32) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(3, 17, 31, 0.08) 40%);
}

.hero-content {
  padding: 110px 0 44px;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(230, 237, 245, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.ai-brief {
  max-width: 980px;
  margin-bottom: 22px;
}

.ai-brief label {
  margin-bottom: 10px;
  color: var(--gold-200);
}

.brief-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(3, 17, 31, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.brief-input-row textarea {
  min-height: 62px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brief-input-row textarea:focus {
  box-shadow: none;
}

.brief-input-row .btn-primary {
  min-width: 176px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.prompt-chips button,
.service-filters button,
.map-actions button {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--steel-100);
  background: rgba(255, 255, 255, 0.065);
  padding: 9px 13px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 850;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.prompt-chips button:hover,
.service-filters button:hover,
.service-filters button.active,
.map-actions button:hover,
.map-actions button.active {
  transform: translateY(-1px);
  color: var(--navy-950);
  border-color: var(--gold-500);
  background: var(--gold-500);
}

.hero-intelligence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-intelligence > div {
  padding: 18px;
  background: rgba(3, 17, 31, 0.64);
}

.hero-intelligence strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.plan-band,
.quote-section,
.map-section,
.services-section,
.proof-section {
  position: relative;
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.plan-band,
.map-section {
  background: rgba(6, 26, 49, 0.88);
}

.quote-section,
.proof-section {
  background: rgba(3, 17, 31, 0.92);
}

.services-section {
  background: rgba(7, 19, 33, 0.94);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.plan-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.risk-console,
.recommendations,
.quote-card,
.region-card,
.proof-item,
.service-card,
.about-band {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.risk-console,
.recommendations,
.quote-card,
.region-card,
.about-band {
  padding: 26px;
}

.console-topline,
.recommendation-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.score-ring {
  --score: 58;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--navy-900) 0 57%, transparent 58%),
    conic-gradient(var(--coral-400) calc(var(--score) * 1%), rgba(255, 255, 255, 0.12) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.score-ring span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 950;
}

.risk-console > p {
  margin: 18px 0;
}

.risk-factors {
  display: grid;
  gap: 10px;
}

.risk-pill {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
}

.risk-pill i {
  color: var(--coral-400);
  margin-top: 3px;
}

.risk-pill strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
}

.risk-pill span {
  display: block;
  color: var(--steel-300);
  font-size: 0.9rem;
}

.recommended-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recommended-grid {
  margin-top: 22px;
}

.service-card {
  position: relative;
  min-height: 238px;
  padding: 22px;
  overflow: hidden;
  text-align: left;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(230, 184, 76, 0.22);
  border-radius: 50%;
  color: var(--gold-500);
  background: rgba(230, 184, 76, 0.09);
}

.service-card .badge {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--gold-200);
  background: rgba(230, 184, 76, 0.1);
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card h3 {
  min-height: 48px;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.service-card p {
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.service-card button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: var(--gold-500);
  background: transparent;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.workflow-step {
  position: relative;
  min-height: 186px;
  padding: 22px;
  background: rgba(3, 17, 31, 0.7);
}

.workflow-step.active {
  background: linear-gradient(145deg, rgba(230, 184, 76, 0.16), rgba(66, 211, 204, 0.08));
}

.workflow-step span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-weight: 950;
}

.workflow-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--font-heading);
}

.workflow-step p {
  margin: 0;
  font-size: 0.91rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: 118px;
}

.quote-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.quote-metrics div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.quote-metrics strong {
  display: block;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 950;
}

.quote-metrics span {
  color: var(--steel-300);
  font-size: 0.82rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label:first-child {
  grid-column: 1 / -1;
}

.upload-zone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  border: 1px dashed rgba(230, 184, 76, 0.42);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--steel-100);
  background: rgba(230, 184, 76, 0.06);
  text-transform: none;
  letter-spacing: 0;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-zone i {
  color: var(--gold-500);
  font-size: 1.5rem;
}

.generated-summary {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(66, 211, 204, 0.24);
  border-radius: var(--radius);
  background: rgba(66, 211, 204, 0.07);
}

.generated-summary p:last-child {
  margin-bottom: 0;
  color: var(--steel-100);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.map-panel {
  align-self: center;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-card {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 24px;
  min-height: 420px;
  overflow: hidden;
}

.region-visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(230, 184, 76, 0.12), transparent 45%),
    linear-gradient(210deg, rgba(66, 211, 204, 0.13), transparent 52%),
    rgba(3, 17, 31, 0.72);
  border: 1px solid var(--border);
}

.region-visual::before {
  content: "";
  position: absolute;
  inset: 28px 34px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 42% 36% 48% 34%;
  transform: rotate(-8deg);
}

.region-visual::after {
  content: "";
  position: absolute;
  left: 24%;
  top: 16%;
  width: 50%;
  height: 72%;
  border-left: 1px solid rgba(230, 184, 76, 0.28);
  border-right: 1px solid rgba(66, 211, 204, 0.24);
  transform: rotate(-8deg);
}

.map-dot {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 8px rgba(230, 184, 76, 0.12), 0 0 24px rgba(230, 184, 76, 0.48);
}

.dot-cairo { left: 54%; top: 47%; }
.dot-delta { left: 48%; top: 34%; }
.dot-damietta { left: 62%; top: 29%; }
.dot-alexandria { left: 32%; top: 26%; }
.dot-upper { left: 50%; top: 72%; }
.dot-ports { left: 70%; top: 48%; }

.region-content {
  align-self: center;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.region-tags span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--steel-100);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 850;
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

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

.proof-item {
  padding: 24px;
}

.proof-item strong {
  display: block;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin: 10px 0 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
}

.proof-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.1), rgba(66, 211, 204, 0.06));
}

.about-band p:last-child {
  margin-bottom: 0;
  color: var(--steel-100);
  font-size: 1.03rem;
}

.site-footer {
  padding: 54px 0 24px;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-grid p {
  max-width: 320px;
  margin-top: 12px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--steel-300);
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--gold-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--steel-500);
  font-size: 0.84rem;
}

.modal[hidden],
.toast[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 31, 0.86);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.modal-body {
  color: var(--steel-300);
}

.modal-body ul {
  margin: 10px 0 16px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 6px;
}

.modal-body strong {
  color: var(--white);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  max-width: min(420px, calc(100vw - 44px));
  border: 1px solid rgba(110, 231, 167, 0.42);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  background: rgba(6, 26, 49, 0.96);
  box-shadow: var(--shadow-md);
}
