@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

/* Hide legacy Framer footer */
.framer-ITyla,
.framer-j03l4m-container,
.framer-j03l4m-container > *,
[data-framer-name="[Section] Footer"],
.framer-dnkrrd[data-framer-name="[Section] Footer"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Yandle footer — inspired by React Bits footer-8 */
.yf {
  --yf-bg: #050505;
  --yf-text: rgba(255, 255, 255, 0.92);
  --yf-muted: rgba(255, 255, 255, 0.55);
  --yf-border: rgba(255, 255, 255, 0.12);
  --yf-accent: #ffffff;
  background: var(--yf-bg);
  color: var(--yf-text);
  font-family: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  width: 100%;
  margin-top: 0;
  position: relative;
  z-index: 20;
}

.yf-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.yf-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px 32px;
  align-items: start;
}

.yf-brand p {
  margin: 0 0 28px;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yf-muted);
}

.yf-logo {
  display: block;
  width: 132px;
  height: auto;
  margin-bottom: 24px;
}

.yf-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--yf-border);
  color: var(--yf-text);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.yf-social a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.yf-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.yf-col h4 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--yf-text);
}

.yf-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yf-col li {
  margin: 0 0 12px;
}

.yf-col a {
  color: var(--yf-muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.yf-col a:hover {
  color: var(--yf-accent);
}

.yf-wordmark-wrap {
  margin: 56px 0 40px;
  padding: 0 8px;
  overflow: hidden;
}

.yf-wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
}

.yf-hero-text {
  display: none;
  font-size: clamp(3.5rem, 16vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  margin: 0;
}

.yf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--yf-border);
}

.yf-copy {
  margin: 0;
  font-size: 13px;
  color: var(--yf-muted);
  line-height: 1.5;
}

.yf-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.yf-legal a {
  color: var(--yf-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.yf-legal a:hover {
  color: var(--yf-accent);
}

.yf[dir="rtl"] .yf-grid {
  direction: rtl;
}

.yf[dir="rtl"] .yf-brand p {
  max-width: 360px;
}

@media (max-width: 900px) {
  .yf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .yf-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .yf-inner {
    padding: 48px 20px 28px;
  }

  .yf-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .yf-wordmark-wrap {
    margin: 40px 0 32px;
  }

  .yf-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
