/* ================= FOOTER ================= */
/* Position: top, right (px). Size: width, height (px). Layers are independent. */

.section.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.footer-inner {
  --inner-top: 0px;
  --inner-right: 0px;
  --inner-width: 100%;
  --inner-height: 100%;

  position: absolute;
  top: var(--inner-top);
  right: var(--inner-right);
  width: var(--inner-width);
  height: var(--inner-height);
  z-index: 1;
  padding: 48px 40px 32px;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-sizing: border-box;
}

/* ========== GLASS LAYER (visual only) ========== */
.footer-glass {
  --glass-top: 120px;
  --glass-right: 120px;
  --glass-width: 1300px;
  --glass-height: 450px;

  position: absolute;
  top: var(--glass-top);
  right: var(--glass-right);
  width: var(--glass-width);
  height: var(--glass-height);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* ========== TEXT BLOCK (heading + paragraphs + CTA) ========== */
.footer-main-left {
  --textblock-top: 0px;
  --textblock-right: 588px;
  --textblock-width: 480px;
  --textblock-height: 200px;

  position: absolute;
  top: var(--textblock-top);
  right: var(--textblock-right);
  width: var(--textblock-width);
  height: var(--textblock-height);
  min-width: 0;
  box-sizing: border-box;
}

/* ========== HEADING ========== */
.footer-heading {
  --heading-top: 200px;
  --heading-right: 120px;
  --heading-width: 140%;
  --heading-height: auto;
  --heading-font-size: 40px;

  position: absolute;
  top: var(--heading-top);
  right: var(--heading-right);
  width: var(--heading-width);
  height: var(--heading-height);
  margin: 0;
  font-size: var(--heading-font-size);
  font-weight: 700;
  color: #2b1b3f;
  line-height: 1.25;
  box-sizing: border-box;
}

/* ========== PARAGRAPHS ========== */
.footer-text {
  --text-top: 280px;
  --text-right: 300px;
  --text-width: 100%;
  --text-height: auto;
  --text-font-size: 20px;

  position: absolute;
  top: var(--text-top);
  right: var(--text-right);
  width: var(--text-width);
  height: var(--text-height);
  margin: 0;
  font-size: var(--text-font-size);
  font-weight: 400;
  color: #5c4a72;
  line-height: 1.6;
  box-sizing: border-box;
}

.footer-text:nth-of-type(2) {
  --text-top: 44px;
}

.footer-text:nth-of-type(3) {
  --text-top: 88px;
}

.footer-text:last-of-type {
  --text-top: 375px;
}

/* ========== CTA BUTTON ========== */
.footer-cta {
  --cta-top: 440px;
  --cta-right: 500px;
  --cta-width: auto;
  --cta-height: auto;
  --cta-font-size: 16px;
  --cta-icon-width: 20px;
  --cta-icon-height: 20px;

  position: absolute;
  top: var(--cta-top);
  right: var(--cta-right);
  width: var(--cta-width);
  height: var(--cta-height);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: var(--cta-font-size);
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(100deg, #ff856d, #b56cff);
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.footer-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.footer-cta-icon {
  width: var(--cta-icon-width);
  height: var(--cta-icon-height);
  flex-shrink: 0;
}

/* ========== BOT.PNG ========== */
.footer-main-right {
  --bot-top: 10px;
  --bot-right: 40px;
  --bot-width: 800px;
  --bot-height: 800px;

  position: absolute;
  top: var(--bot-top);
  right: var(--bot-right);
  width: var(--bot-width);
  height: var(--bot-height);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@keyframes bot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.footer-bot {
  --bot-img-width: 100%;
  --bot-img-height: 100%;

  width: var(--bot-img-width);
  height: var(--bot-img-height);
  object-fit: contain;
  display: block;
  animation: bot-float 3s ease-in-out infinite;
}

/* ========== FOOTER STRIP ========== */
.footer-strip {
  --strip-top: 550px;
  --strip-right: 250px;
  --strip-width: 1100px;
  --strip-height: auto;
  --strip-gap-vertical: 0px;

  position: absolute;
  top: var(--strip-top);
  right: var(--strip-right);
  width: var(--strip-width);
  height: var(--strip-height);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--strip-gap-vertical) 16px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
}

/* Logo–FYNX spacing: --brand-gap (px); negative --brand-pull pulls text closer. */
.footer-brand {
  --brand-gap: 10px;
  --brand-pull: -50px;
  display: flex;
  align-items: center;
  gap: var(--brand-gap);
}

.footer-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.footer-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin-left: var(--brand-pull);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-weight: 400;
  user-select: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.85;
}

/* Copyright spacing: --strip-gap-vertical (strip), --copy-margin-top, --copy-margin-left. */
.footer-copy {
  --copy-margin-top: -50px;
  --copy-margin-left: 80px;
  width: 100%;
  flex-basis: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: var(--copy-margin-top) 0 0 var(--copy-margin-left);
  padding: 0;
}
