:root {
  --primary: #1f6b3a;
  --primary-deep: #153824;
  --accent: #8bc34a;
  --accent-soft: #dff0c9;
  --ivory: #faf9f4;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #15321f;
  --muted: #607568;
  --border: rgba(31, 107, 58, 0.13);
  --shadow: 0 24px 80px rgba(22, 56, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Cairo", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139, 195, 74, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(31, 107, 58, 0.16), transparent 30%),
    linear-gradient(180deg, #fdfcf8 0%, var(--ivory) 58%, #f3f7ef 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 38rem;
  height: 38rem;
  top: -18rem;
  right: -8rem;
  border: 2px solid rgba(139, 195, 74, 0.28);
  transform: rotate(-13deg);
}

body::after {
  width: 26rem;
  height: 26rem;
  bottom: -13rem;
  left: -8rem;
  border: 2px solid rgba(31, 107, 58, 0.18);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 245, 0.9));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: rise-in 0.7s ease-out both;
}

.hero__copy {
  display: grid;
  gap: 14px;
}

.hero__eyebrow,
.section-label,
.brand-card__seal,
.feature-card__index,
.download-meta {
  letter-spacing: 0.04em;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 195, 74, 0.15);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1,
.download-panel h2,
.feature-card h2 {
  margin: 0;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 800;
}

.hero__english {
  margin: 0;
  color: #6c8f55;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.9rem);
  font-weight: 600;
}

.hero__lead,
.feature-card p,
.download-panel__text,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2a7b46 60%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(31, 107, 58, 0.24);
}

.button--disabled {
  color: rgba(21, 50, 31, 0.56);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(31, 107, 58, 0.2);
  cursor: not-allowed;
}

.button--wide {
  width: 100%;
}

.hero__visual {
  position: relative;
  min-height: 100%;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 8% auto auto 4%;
  width: 82%;
  height: 82%;
  border-radius: 999px;
  border: 2px solid rgba(139, 195, 74, 0.24);
  transform: rotate(-14deg);
}

.hero__visual::after {
  inset: auto 2% 5% auto;
  width: 72%;
  height: 72%;
  border-color: rgba(31, 107, 58, 0.18);
  transform: rotate(10deg);
}

.brand-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(232, 245, 223, 0.82)),
    linear-gradient(180deg, rgba(31, 107, 58, 0.08), rgba(31, 107, 58, 0));
  border: 1px solid rgba(31, 107, 58, 0.14);
  overflow: hidden;
}

.brand-card::before,
.brand-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 107, 58, 0.92), rgba(139, 195, 74, 0.86));
  opacity: 0.14;
}

.brand-card::before {
  width: 120%;
  height: 18px;
  bottom: 56px;
  right: -18%;
  transform: rotate(-8deg);
}

.brand-card::after {
  width: 92%;
  height: 14px;
  bottom: 32px;
  right: -2%;
  transform: rotate(-8deg);
}

.brand-card__logo {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  filter: drop-shadow(0 22px 40px rgba(31, 107, 58, 0.16));
}

.brand-card__seal {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  box-shadow: 0 14px 28px rgba(31, 107, 58, 0.1);
  font-size: 0.96rem;
  font-weight: 800;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-card,
.download-panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 55px rgba(21, 56, 36, 0.08);
}

.feature-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  animation: rise-in 0.7s ease-out both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.16s;
}

.feature-card__index,
.section-label {
  color: #7aa63a;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
}

.download-panel__box {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(235, 245, 230, 0.72), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(31, 107, 58, 0.12);
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.download-meta--muted {
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 0 4px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .download-panel,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px;
  }

  .brand-card {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100vw - 20px, 100%);
    padding: 16px 0 28px;
  }

  .hero,
  .feature-card,
  .download-panel {
    border-radius: 24px;
  }

  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-card {
    min-height: 260px;
    padding: 20px;
  }

  .brand-card__seal {
    top: 16px;
    left: 16px;
  }
}
