:root {
  --ink: #123348;
  --muted: #5e7280;
  --green: #087b58;
  --green-dark: #056246;
  --yellow: #ffd43b;
  --cream: #fffaf0;
  --line: rgba(18, 51, 72, 0.12);
  --shadow: 0 22px 70px rgba(14, 68, 77, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 212, 59, 0.34), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(56, 189, 155, 0.22), transparent 26rem),
    linear-gradient(150deg, #fffef9 0%, #f5fff9 55%, #fff8dc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: radial-gradient(rgba(8, 123, 88, 0.2) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(8, 123, 88, 0.18);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(14, 68, 77, 0.08);
  font-weight: 850;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 20px;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.preview-wrap {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(14, 68, 77, 0.12);
}

.preview-wrap::after {
  content: "Previzualizare";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 44, 54, 0.78);
  font-size: 0.76rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.preview-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  border-radius: 14px;
  object-fit: contain;
  background: #f8f8f4;
}

.content {
  align-self: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 26px;
  padding: 15px 20px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #0b8a63, var(--green-dark));
  box-shadow: 0 12px 26px rgba(5, 98, 70, 0.28), inset 0 1px rgba(255,255,255,0.28);
  font: inherit;
  font-size: 1.06rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(5, 98, 70, 0.34), inset 0 1px rgba(255,255,255,0.28);
}

.download-button:active {
  transform: translateY(0);
}

.download-button:focus-visible {
  outline: 4px solid rgba(255, 212, 59, 0.85);
  outline-offset: 4px;
}

.button-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.file-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.trust-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(8, 123, 88, 0.13);
  border-radius: 14px;
  background: rgba(235, 255, 246, 0.72);
  color: #365a50;
  font-size: 0.87rem;
  line-height: 1.5;
}

.trust-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--green);
}

.footer {
  margin: 22px 0 0;
  color: #71848e;
  font-size: 0.78rem;
  text-align: center;
}

.landing-card {
  width: min(720px, calc(100% - 32px));
  margin: 8vh auto;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 28px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.landing-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.landing-links a {
  padding: 16px;
  border: 1px solid rgba(8, 123, 88, 0.18);
  border-radius: 16px;
  color: var(--green-dark);
  background: #f2fff9;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 20px, 680px);
    padding-top: 14px;
  }

  .brand {
    padding: 7px 11px;
    font-size: 0.83rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  .download-card {
    grid-template-columns: 1fr;
    margin-top: 12px;
    padding: 14px 14px 22px;
    border-radius: 22px;
  }

  .preview-wrap {
    padding: 7px;
    border-radius: 18px;
  }

  .preview-image {
    max-height: 55vh;
    border-radius: 12px;
  }

  .preview-wrap::after {
    left: 13px;
    bottom: 13px;
  }

  .content {
    padding: 2px 8px 0;
    text-align: center;
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }

  .lead {
    margin-top: 12px;
    font-size: 1rem;
  }

  .download-button {
    margin-top: 20px;
  }

  .trust-note {
    text-align: left;
  }
}

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