/* XGR.Network Brand System v4 */

:root {
  --xgr-bg: #f8faf4;
  --xgr-text: #061a14;
  --xgr-soft: #31483f;
  --xgr-muted: #66766d;
  --xgr-green: #2f8f3f;
  --xgr-green-700: #17633a;
  --xgr-green-900: #06241c;
  --xgr-lime: #8ddd62;
  --xgr-gold: #c99a2e;
  --xgr-border: rgba(6, 36, 28, 0.11);
  --xgr-shadow: 0 30px 90px rgba(6, 36, 28, 0.08);
  --xgr-max: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--xgr-bg); scroll-behavior: smooth; }

body.xgr-brand-page {
  margin: 0;
  color: var(--xgr-text);
  background:
    radial-gradient(circle at 88% 10%, rgba(141, 221, 98, 0.18), transparent 34rem),
    radial-gradient(circle at 4% 76%, rgba(47, 143, 63, 0.07), transparent 32rem),
    linear-gradient(180deg, #fbfcf8 0%, #f4f8ef 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

.xgr-brand-page img,
.xgr-brand-page svg { max-width: 100%; height: auto; }

.xgr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: #046036;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.xgr-kicker::after {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xgr-green), rgba(47, 143, 63, 0));
  box-shadow: 0 0 14px rgba(74, 177, 62, 0.28);
}

.xgr-title {
  margin: 0;
  color: var(--xgr-text);
  font-size: clamp(3.35rem, 6vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: -0.073em;
  font-weight: 950;
  text-transform: uppercase;
}

.xgr-title span,
.xgr-title strong { display: block; }

.xgr-title strong {
  color: #1f7634;
  text-shadow: 0 0 26px rgba(118, 214, 86, 0.13);
}

.xgr-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--xgr-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.76;
}

.xgr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

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

.xgr-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(6, 36, 28, 0.14);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, color 170ms ease;
}

.xgr-btn:hover { transform: translateY(-2px); text-decoration: none; }

.xgr-btn--primary {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(156, 231, 98, 0.36), transparent 40%),
    linear-gradient(180deg, #073225 0%, #031f17 100%);
  border-color: rgba(117, 219, 93, 0.3);
  box-shadow:
    0 18px 42px rgba(4, 32, 24, 0.2),
    0 0 24px rgba(90, 198, 75, 0.14);
}

.xgr-btn--primary:hover { color: #fff; }

.xgr-btn--secondary {
  color: #063323;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 12px 30px rgba(4, 32, 24, 0.075);
}

.xgr-btn--gold {
  color: #745415;
  background: rgba(255, 250, 232, 0.86);
  border-color: rgba(201, 154, 46, 0.24);
  box-shadow: 0 12px 30px rgba(110, 76, 10, 0.05);
}

.xgr-panel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid var(--xgr-border);
  background:
    linear-gradient(rgba(7,34,26,0.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,34,26,0.021) 1px, transparent 1px),
    radial-gradient(circle at 80% 46%, rgba(136,225,104,0.17), transparent 30rem),
    rgba(255,255,250,0.9);
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: var(--xgr-shadow);
}

.xgr-panel::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 46%, rgba(137,224,102,0.18), transparent 21rem),
    radial-gradient(circle at 92% 25%, rgba(255,255,255,0.72), transparent 22rem);
}

.xgr-panel > * { position: relative; z-index: 1; }

.xgr-visual-img {
  display: block;
  width: min(720px, 112%);
  max-width: none;
  margin: 0 auto;
  filter:
    drop-shadow(0 34px 64px rgba(6,36,28,.16))
    drop-shadow(0 0 42px rgba(119,223,82,.23));
}

.xgr-section {
  margin-top: 32px;
  padding: clamp(42px, 5vw, 66px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 0%, rgba(129,215,97,0.13), transparent 25rem),
    rgba(255,255,250,0.88);
  border: 1px solid rgba(6,36,28,0.09);
  box-shadow: 0 28px 80px rgba(6,36,28,0.06);
}

.xgr-section h2 {
  margin: 0;
  color: var(--xgr-text);
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.xgr-section p {
  max-width: 680px;
  color: var(--xgr-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.xgr-feature-card {
  min-height: 205px;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(247,250,245,0.8));
  border: 1px solid rgba(6,36,28,0.09);
  box-shadow: 0 18px 42px rgba(6,36,28,0.055);
}

.xgr-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #1f7634;
  background: rgba(47,143,63,0.08);
  border: 1px solid rgba(47,143,63,0.14);
  font-size: 1.2rem;
  font-weight: 900;
}

.xgr-feature-card h3 {
  margin: 0 0 8px;
  color: var(--xgr-text);
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.xgr-feature-card p {
  margin: 0;
  color: #5d6e66;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .xgr-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xgr-visual-img { width: min(680px, 100%); max-width: 100%; }
}

@media (max-width: 720px) {
  .xgr-panel,
  .xgr-section { border-radius: 28px; padding: 28px; }

  .xgr-title { font-size: clamp(3rem, 14vw, 4.8rem); }

  .xgr-actions { display: grid; grid-template-columns: 1fr; }

  .xgr-btn { width: 100%; }

  .xgr-card-grid { grid-template-columns: 1fr; }
}
