:root {
  --background: #f7f8f5;
  --foreground: #101312;
  --muted: #616b66;
  --panel: #ffffff;
  --line: rgba(16, 19, 18, 0.12);
  --green: #1fbf63;
  --green-dark: #08783a;
  --gold: #d9b45f;
  --charcoal: #101312;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 64px);
  color: white;
  background: rgba(16, 19, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #d4e8dd 50%, #1fbf63);
  color: #101312;
  font-size: 13px;
  font-weight: 900;
  transform: rotate(45deg);
}

.brand-mark {
  line-height: 42px;
}

.brand-mark + span {
  display: grid;
  line-height: 1;
}

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

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: white;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(8, 120, 58, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(8, 120, 58, 0.38);
}

.whatsapp-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 5vw, 72px) 54px;
  color: white;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("public/diamond-enterprises-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.94) 0%, rgba(8, 10, 10, 0.72) 42%, rgba(8, 10, 10, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 10, 10, 0.88) 0%, rgba(8, 10, 10, 0) 34%);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(50px, 8vw, 104px);
  line-height: 0.92;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-cta {
  min-height: 58px;
  padding: 0 26px;
  font-size: 15px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 800;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.conversion-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(20px, 5vw, 72px);
  background: var(--charcoal);
  color: white;
}

.conversion-band h2,
.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-card {
  min-height: 190px;
  padding: 34px;
  background: var(--panel);
}

.benefit-card span {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border: 2px solid var(--green);
  border-radius: 8px;
  transform: rotate(45deg);
}

.benefit-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
}

.process {
  padding: 84px clamp(20px, 5vw, 72px);
}

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

.section-heading h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.step-card strong {
  color: var(--green-dark);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.step-card h3 {
  margin: 72px 0 12px;
  font-size: 28px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  padding: 76px clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(135deg, rgba(16, 19, 18, 0.94), rgba(16, 19, 18, 0.74)),
    url("public/diamond-enterprises-hero.png") center / cover;
}

.final-cta h2 {
  margin-bottom: 28px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px) 110px;
  color: white;
  background: #0a0d0c;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  min-height: 58px;
  border-radius: 999px;
}

.popup-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 8, 7, 0.7);
  backdrop-filter: blur(10px);
}

.popup-toggle:checked ~ .popup-backdrop {
  display: none;
}

.popup {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 238, 0.96));
  box-shadow: 0 26px 100px rgba(0, 0, 0, 0.35);
}

.popup h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 0.98;
}

.popup p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e9eee9;
  color: var(--foreground);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.popup-cta {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 920px) {
  .topbar nav {
    display: none;
  }

  .benefits,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .conversion-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 14px;
  }

  .brand small {
    letter-spacing: 0.08em;
  }

  .topbar-cta {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 108px 18px 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 10, 10, 0.96), rgba(8, 10, 10, 0.62)),
      linear-gradient(0deg, rgba(8, 10, 10, 0.86), rgba(8, 10, 10, 0.08));
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .primary-cta,
  .whatsapp-button {
    width: 100%;
  }

  .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .conversion-band,
  .process,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .benefits,
  .steps {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 150px;
  }

  .step-card h3 {
    margin-top: 44px;
  }

  footer {
    align-items: stretch;
    flex-direction: column;
    padding: 26px 18px 104px;
  }

  .floating-whatsapp {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .popup {
    padding: 30px 22px 24px;
  }
}
