/* =========================================================
   GLOBAL BASE (no shimmer, no tricks)
   ========================================================= */

/* box model */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* base page canvas */
body,
.fl-page {
  margin: 0;
  min-height: 100vh;

  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);

  /* ONLY base gradient – no shimmer here */
  background: linear-gradient(
    180deg,
    #070a14 0%,
    #0b1020 70%,
    #060913 100%
  );
}

/* Beaver keeps control */
.fl-page-content,
.fl-builder-content {
  background: transparent;
}

/* =========================================================
   TYPOGRAPHY – clean vertical rhythm
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #ffffff;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

/* remove top spacing if heading starts a row */
.fl-row h1:first-child,
.fl-row h2:first-child,
.fl-row h3:first-child,
.fl-row h4:first-child,
.fl-row h5:first-child,
.fl-row h6:first-child {
  margin-top: 0;
}

h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
  line-height: 1.3;
}

h4 {
  font-size: 15px;
  line-height: 1.35;
}

h5 {
  font-size: 14px;
  line-height: 1.4;
}

h6 {
  font-size: 13px;
  line-height: 1.4;
}

p {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
}

p + p {
  margin-top: 0.8em;
}

/* headings before lists look intentional */
h1 + ul,
h2 + ul,
h3 + ul,
h4 + ul {
  margin-top: 0.6em;
}

/* lists */
ul {
  margin: 0.6em 0 1.2em;
  padding-left: 1.2em;
}

/* =========================================================
   LINKS
   ========================================================= */

a {
  color: #49f2c2;
  text-decoration: none;
}

a:hover {
  color: #6aa7ff;
  text-decoration: none;
}

/* =========================================================
   BOOTSTRAP COEXISTENCE (minimal)
   ========================================================= */

.btn {
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

/* =========================================================
   OPTIONAL CARD HELPER
   ========================================================= */

.bb-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

/* =========================================================
   SECTION SHIMMER (OPT-IN PER ROW)
   ========================================================= */

/*
  Usage:
  Row → Advanced → CSS Class:
  section-shimmer
*/

.fl-row.section-shimmer {
  position: relative;
}

.fl-row.section-shimmer .fl-row-content-wrap {
  position: relative;
  overflow: hidden;
}

/* shimmer layer */
.fl-row.section-shimmer .fl-row-content-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      1200px 600px at 15% 10%,
      rgba(73, 242, 194, 0.22),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 85% 10%,
      rgba(106, 167, 255, 0.20),
      transparent 55%
    );
}

/* content above shimmer */
.fl-row.section-shimmer .fl-row-content {
  position: relative;
  z-index: 2;
}

/* =========================================================
   FORCE NO SHIMMER (OPTIONAL)
   ========================================================= */

/*
  Row → Advanced → CSS Class:
  no-shimmer
*/

.fl-row.no-shimmer .fl-row-content-wrap::before {
  display: none !important;
}
