/* =========================================
   GLOBAL BUTTONS — Skoolapps
   ========================================= */

/* Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }

/* Variants */
.btn--primary {
  background: var(--clr-accent);
  color: #0d1b12;
  box-shadow: 0 4px 16px rgba(0,201,122,0.35);
}
.btn--primary:hover {
  background: #00e88a;
  box-shadow: 0 8px 24px rgba(0,201,122,0.45);
  color: #0d1b12;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-border);
}
.btn--ghost:hover {
  background: var(--clr-bg-alt);
  border-color: var(--clr-primary-light);
  color: var(--clr-primary);
}

.btn--white {
  background: #fff;
  color: var(--clr-primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--white:hover {
  background: #e8f5ed;
  color: var(--clr-primary-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--dark {
  background: var(--clr-primary-dark);
  color: #fff;
}
.btn--dark:hover {
  background: var(--clr-primary);
  color: #fff;
}

/* Sizes */
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--sm { padding: 7px 16px; font-size: 0.8rem; }

/* =========================================
   FOOTER BUTTONS — fully isolated styles
   Never inherits from .btn — standalone
   ========================================= */
.footer__btn {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  outline: none;

  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;

  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;

  /* Hard reset — never let parent bleed through */
  -webkit-appearance: none;
  appearance: none;
}

.footer__btn:hover { transform: translateY(-2px); }
.footer__btn:active { transform: translateY(0) scale(0.97); }

/* Contact Us pill */
.footer__btn--contact {
  background: #d9f2d9;
  color: #1a5c32;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.footer__btn--contact:hover {
  background: #c0e8c0;
  color: #1a5c32;
  box-shadow: 0 6px 20px rgba(0,0,0,0.16);
}

/* Book a Demo — sky blue */
.footer__btn--demo {
  background: #29b6f6;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(41,182,246,0.40);
}
.footer__btn--demo:hover {
  background: #039be5;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(41,182,246,0.50);
}
