:root {
  --bg: #fffdf8;
  --ink: #141414;
  --muted: #625f58;
  --line: #ded5c5;
  --soft: #f7f1e7;
  --soft-2: #edf8f6;
  --gold: #c89636;
  --gold-dark: #825d1c;
  --teal: #0f6159;
  --teal-soft: #dff2ef;
  --danger: #ff6a60;
  --warn: #ffc260;
  --shadow: 0 24px 70px rgba(25, 20, 12, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(15, 97, 89, 0.12), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(200, 150, 54, 0.14), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  width: 36vw;
  height: 36vw;
  filter: blur(20px);
  opacity: 0.22;
}

.ambient-a {
  right: -12vw;
  top: 14vh;
  background: radial-gradient(circle, rgba(15, 97, 89, 0.55), transparent 62%);
}

.ambient-b {
  left: -12vw;
  bottom: 12vh;
  background: radial-gradient(circle, rgba(200, 150, 54, 0.5), transparent 64%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(222, 213, 197, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  background: #101010;
  color: #ffd16f;
  font-size: 24px;
  font-weight: 1000;
  box-shadow: 0 0 0 4px rgba(200, 150, 54, 0.1);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-weight: 1000;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

nav a {
  padding: 9px 13px;
  border: 1px solid transparent;
  color: #393730;
  font-size: 14px;
  font-weight: 800;
  transition: 180ms ease;
}

nav a:hover {
  border-color: var(--line);
  background: white;
  color: var(--gold-dark);
  transform: translateY(-1px);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal);
  font-size: 13px;
  font-weight: 1000;
}

.print-button,
.primary-action,
.secondary-action {
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  font-size: 14px;
  transition: 180ms ease;
}

.print-button,
.primary-action {
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.12);
}

.print-button:hover,
.primary-action:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.secondary-action {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 12px 18px;
}

.secondary-action:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.section-pad {
  padding: 88px clamp(20px, 5vw, 72px);
  scroll-margin-top: 92px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  min-height: 780px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 74px clamp(18px, 4vw, 56px) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 150, 54, 0.55), transparent);
}

.proposal-meta {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-weight: 1000;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.brand-word {
  color: transparent;
  background: linear-gradient(90deg, #101010, #0f6159 55%, #c89636);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 780px;
  color: #3f3c36;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.audit-console {
  position: relative;
  padding: 0 30px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    #101010;
  color: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.audit-console::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(200, 150, 54, 0.7), transparent 42%, rgba(15, 97, 89, 0.65));
  opacity: 0.5;
  filter: blur(18px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -30px 28px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
}

.console-top span:nth-child(2) {
  background: var(--warn);
}

.console-top span:nth-child(3) {
  background: #62d8c7;
}

.console-top strong {
  margin-inline-start: auto;
  color: #d9d9d9;
  font-size: 13px;
}

.audit-console h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.audit-console dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.audit-console div:not(.console-top) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.audit-console dt {
  color: #d7d7d7;
}

.audit-console dd {
  margin: 0;
  font-size: 23px;
  font-weight: 1000;
}

.danger {
  color: var(--danger);
}

.warn {
  color: var(--warn);
}

.section-heading {
  max-width: 930px;
  margin-bottom: 38px;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-weight: 1000;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.22;
  letter-spacing: 0;
}

.problem-grid,
.package-grid,
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.requirements-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid article,
.package,
.requirements-grid article,
.host-card,
.evidence figure {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(35, 30, 22, 0.06);
  backdrop-filter: blur(12px);
}

.problem-grid article,
.requirements-grid article {
  padding: 28px;
}

.problem-grid span,
.host-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
}

.problem-grid h3,
.package h3,
.requirements-grid h3 {
  font-size: 24px;
  line-height: 1.35;
}

.problem-grid p,
.package p,
.timeline p,
.hosting-copy p,
.requirements-grid p,
.pricing-note,
.final-cta p,
.check-list,
.host-card small {
  color: var(--muted);
}

.evidence {
  background: linear-gradient(180deg, var(--soft), #fffdf8);
}

.evidence-stack {
  display: grid;
  gap: 24px;
}

.evidence figure {
  margin: 0;
  overflow: hidden;
}

.image-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

.evidence img {
  max-height: 640px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.evidence figcaption {
  padding: 18px 22px;
  color: #4f4a42;
  font-size: 15px;
  font-weight: 800;
}

.hosting-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.hosting-copy {
  position: sticky;
  top: 110px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding: 12px 44px 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  right: 14px;
  color: var(--teal);
  font-weight: 1000;
}

[dir="ltr"] .check-list li {
  padding: 12px 14px 12px 44px;
}

[dir="ltr"] .check-list li::before {
  right: auto;
  left: 14px;
}

[dir="ltr"] .package ul {
  padding: 0 0 0 20px;
}

[dir="ltr"] .timeline li {
  border-left: 0;
  border-right: 1px solid var(--line);
}

[dir="ltr"] .timeline li:last-child {
  border-right: 0;
}

.hosting-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.host-card {
  min-height: 190px;
  padding: 22px;
  transition: 180ms ease;
}

.host-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(25, 20, 12, 0.14);
}

.host-card strong,
.host-card small {
  display: block;
}

.host-card strong {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 22px;
  line-height: 1.25;
}

.iframe-shell {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101010;
  box-shadow: var(--shadow);
}

.iframe-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.iframe-bar span {
  color: #d9c59a;
}

iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.packages {
  background:
    linear-gradient(135deg, rgba(15, 97, 89, 0.22), transparent 42%),
    #101010;
  color: white;
}

.packages .section-heading p {
  color: #f0be67;
}

.packages .section-heading h2 {
  color: white;
}

.package {
  position: relative;
  padding: 30px;
  color: var(--ink);
  background: #fffdf8;
}

.package.featured {
  border-color: var(--gold);
  box-shadow: 0 26px 70px rgba(200, 150, 54, 0.28);
  transform: translateY(-12px);
}

.choice {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 1000;
}

.price {
  color: var(--teal);
  font-size: 30px;
  font-weight: 1000;
  line-height: 1.25;
}

.price small {
  display: block;
  color: var(--gold-dark);
  font-size: 15px;
}

.package ul {
  margin: 20px 0 0;
  padding: 0 20px 0 0;
  color: #373737;
}

.package li {
  margin-bottom: 10px;
}

.pricing-note {
  max-width: 1080px;
  margin: 28px 0 0;
  color: #ded6c9;
  font-weight: 700;
}

.requirements-grid article a {
  display: inline-flex;
  margin-top: 16px;
  padding: 11px 16px;
  background: var(--teal);
  color: white;
  font-weight: 900;
}

.payment {
  background:
    linear-gradient(180deg, #fffdf8, var(--soft-2)),
    var(--soft-2);
}

.payment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.payment-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(35, 30, 22, 0.08);
  overflow: hidden;
}

.payment-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
}

.payment-card h3 {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 26px;
}

.payment-card p {
  color: var(--muted);
  font-weight: 700;
}

.payment-card a {
  display: inline-flex;
  margin-top: 16px;
  padding: 11px 16px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline li {
  min-height: 240px;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.timeline li:last-child {
  border-left: 0;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 1000;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--teal);
  color: white;
}

.final-cta div {
  max-width: 900px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.final-cta .primary-action {
  background: white;
  color: var(--teal);
  white-space: nowrap;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #0d0d0d;
  color: white;
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  color: #cfc8bd;
  font-size: 14px;
}

.image-modal {
  width: min(1120px, calc(100vw - 28px));
  border: 0;
  padding: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.image-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.image-modal img {
  max-height: 82vh;
  object-fit: contain;
}

.modal-close {
  margin-bottom: 12px;
  border: 0;
  background: #101010;
  color: white;
  padding: 10px 16px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .hosting-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
  }

  h1 {
    max-width: 760px;
    margin-inline: auto;
    font-size: clamp(40px, 8vw, 66px);
    line-height: 1.12;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hosting-copy {
    position: static;
  }

  .problem-grid,
  .package-grid,
  .requirements-grid,
  .payment-layout,
  .hosting-cards,
  .timeline ol {
    grid-template-columns: 1fr 1fr;
  }

  .package.featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 78px;
  }

  .section-pad {
    padding: 58px 18px;
  }

  .site-header {
    position: static;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 10px 30px rgba(25, 20, 12, 0.08);
    backdrop-filter: none;
  }

  .brand {
    justify-content: flex-start;
    min-width: 0;
    width: auto;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }

  .header-tools {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 6px;
    justify-content: stretch;
  }

  .lang-switch {
    min-width: 42px;
    min-height: 46px;
    background: white;
  }

  .print-button {
    width: auto;
    min-width: 0;
    padding: 10px 14px;
    align-self: center;
  }

  nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: auto;
    padding: 8px;
    gap: 4px;
    border: 1px solid rgba(222, 213, 197, 0.88);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 18px 46px rgba(25, 20, 12, 0.18);
    backdrop-filter: blur(18px);
  }

  nav a {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 7px 4px;
    border: 0;
    color: #4a453d;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  nav a::before {
    content: attr(data-icon);
    display: grid;
    place-items: center;
    width: 26px;
    height: 22px;
    margin-bottom: 5px;
    border-radius: 999px;
    background: var(--soft-2);
    color: var(--teal);
    font-size: 13px;
    font-weight: 1000;
    opacity: 1;
  }

  nav a:nth-child(1)::before {
    content: "✓";
  }

  nav a:nth-child(2)::before {
    content: "☁";
  }

  nav a:nth-child(3)::before {
    content: "$";
  }

  nav a:nth-child(4)::before {
    content: "Pay";
    width: 34px;
    font-size: 10px;
  }

  nav a:nth-child(5)::before {
    content: "i";
  }

  nav a:nth-child(6)::before {
    content: "3w";
    width: 34px;
    font-size: 10px;
  }

  nav a.is-active {
    background: #101010;
    color: white;
  }

  nav a.is-active::before {
    background: var(--gold);
    color: #101010;
  }

  nav a:hover {
    background: var(--soft-2);
    color: var(--teal);
    transform: none;
  }

  h1 {
    font-size: 36px;
    line-height: 1.18;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    justify-content: center;
  }

  .audit-console div:not(.console-top) {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 4px;
  }

  .audit-console dd {
    font-size: 20px;
  }

  .problem-grid,
  .package-grid,
  .requirements-grid,
  .payment-layout,
  .hosting-cards,
  .timeline ol {
    grid-template-columns: 1fr;
  }

  .iframe-bar,
  .final-cta,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  iframe {
    height: 520px;
  }

  .timeline li,
  .timeline li:last-child {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .final-cta .primary-action {
    text-align: center;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  .ambient,
  .print-button,
  nav,
  .hero-actions,
  .final-cta .primary-action,
  .image-modal,
  script {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  .section-pad {
    padding: 22px 0;
    break-inside: avoid;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body {
    color: #000;
    background: white;
    font-size: 11px;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 24px;
  }

  .problem-grid,
  .package-grid,
  .requirements-grid,
  .payment-layout,
  .hosting-layout,
  .hosting-cards,
  .timeline ol {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .evidence img {
    max-height: 380px;
  }

  .audit-console,
  .packages,
  .footer {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .package,
  .problem-grid article,
  .requirements-grid article,
  .payment-card,
  .host-card,
  .evidence figure {
    break-inside: avoid;
    box-shadow: none;
  }

  iframe {
    height: 190px;
  }
}
