/* SkillfyAI design for learn.skillfyai.com (the Graphy course site).
   Loaded by Graphy → Website → Settings → Scripts → Head Scripts, together with skillfy-learn.js.
   Restyles Graphy's own header in place, so Login, the logged-in menu and the mobile menu keep
   working (Login opens Graphy's own sign-in). Graphy's footer is replaced by #skf-footer, which
   skillfy-learn.js adds. Edit here and deploy; Graphy picks up the change on the next page load. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* ---------- Header ---------- */
/* Graphy's placeholder logo and nav labels are swapped by skillfy-learn.js. Keep them invisible
   until then so visitors never see the placeholders; if the script ever fails, they show after 1.5s. */
#el-logo-img,
#sec-topbar .main-nav { opacity: 0; animation: skf-reveal 0s 1.5s forwards; }
html.skf-on #el-logo-img,
html.skf-on #sec-topbar .main-nav { opacity: 1; animation: none; }
@keyframes skf-reveal { to { opacity: 1; } }

#sec-topbar {
  background: transparent !important;
  padding: 0 !important;
  z-index: 10000;
}
#sec-topbar .topbar-wrapper {
  height: 64px !important;
  padding: 0 max(16px, calc((100vw - 1240px) / 2)) !important;
  background: rgba(10, 10, 26, 0.86) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.18) !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}
#sec-topbar .logo-container {
  width: auto !important;
  height: 36px !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
#sec-topbar .logo-container a { display: flex; align-items: center; height: 100%; }
#sec-topbar .logo-container img {
  width: auto !important;
  height: 32px !important;
  max-width: 170px;
  object-fit: contain;
}
#sec-topbar .site-title { display: none !important; }
#sec-topbar .main-nav { gap: 4px !important; }
#sec-topbar .nav-link {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(226, 232, 240, 0.85) !important;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}
#sec-topbar .nav-link:hover,
#sec-topbar .nav-link.skf-active {
  color: #ffffff !important;
  background: rgba(139, 92, 246, 0.14);
}
#sec-topbar .nav-link.skf-active { color: #c4b5fd !important; }
#el-nav-membership { display: none !important; }
#sec-topbar .topbar-right { gap: 12px !important; }
#sec-topbar .dashboard-link {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 14px !important;
  color: rgba(226, 232, 240, 0.85) !important;
}
#sec-topbar .dashboard-link:hover { color: #fff !important; }
#sec-topbar .login-btn {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
  transition: opacity 0.3s, transform 0.2s;
}
#sec-topbar .login-btn:hover { opacity: 0.9; }
#sec-topbar .login-btn:active { transform: scale(0.96); }
#sec-topbar .dropdown-trigger-wrapper svg { color: rgba(226, 232, 240, 0.7) !important; }
#sec-topbar .avatar { color: #fff !important; }
#sec-topbar .dropdown-menu {
  top: 60px !important;
  right: max(16px, calc((100vw - 1240px) / 2)) !important;
  background: #120c2a !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6) !important;
}
#sec-topbar .dropdown-menu a,
#sec-topbar .dropdown-menu button {
  color: rgba(226, 232, 240, 0.9) !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}
#sec-topbar .dropdown-menu a:hover,
#sec-topbar .dropdown-menu button:hover { background: rgba(139, 92, 246, 0.16) !important; }
#sec-topbar .hamburger-btn { color: #fff !important; }

/* WhatsApp button added by the Body Script */
#skf-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
#skf-wa:hover { transform: scale(1.06); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.55); }
#skf-wa svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  #sec-topbar .topbar-wrapper { height: 60px !important; }
  #sec-topbar .logo-container img { height: 28px !important; max-width: 130px; }
  #sec-topbar .main-nav {
    top: 60px !important;
    background: #0a0a1a !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.7) !important;
    padding: 12px 16px 18px !important;
    gap: 2px !important;
    align-items: stretch !important;
  }
  #sec-topbar .nav-link { padding: 12px 12px; font-size: 15px !important; }
  #sec-topbar .login-btn { padding: 8px 14px !important; }
  #sec-topbar .topbar-right { gap: 8px !important; }
  #sec-topbar .dropdown-menu { right: 16px !important; width: min(249px, calc(100vw - 32px)) !important; }
}

/* ---------- Webinar pages: show the whole cover, no side cropping ---------- */
.webinar-image-box { height: auto !important; aspect-ratio: 1504 / 816; background: #0a0a1a; }
.webinar-image-box img.webinar-cover { width: 100% !important; height: 100% !important; object-fit: contain !important; }

/* ---------- Footer: Graphy's is replaced by #skf-footer ---------- */
#footer-host { display: none !important; }
#skf-footer {
  position: relative;
  overflow: hidden;
  background: #08071a;
  color: #fff;
  padding: 40px 16px 28px;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
}
#skf-footer * { box-sizing: border-box; }
#skf-footer a { color: inherit; text-decoration: none; }
#skf-footer .skf-f-in { max-width: 1152px; margin: 0 auto; }
#skf-footer .skf-f-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(8, 7, 26, 0.45), transparent 65%), linear-gradient(90deg, #7c3aed, #a855f7);
  box-shadow: 0 30px 80px -20px rgba(139, 92, 246, 0.55);
}
#skf-footer .skf-f-cta h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
#skf-footer .skf-f-cta p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 14px; }
#skf-footer .skf-f-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  color: #6d28d9 !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
#skf-footer .skf-f-cta-btn:hover { transform: scale(1.03); }
#skf-footer .skf-f-cta-btn .skf-f-free { color: #15803d; font-weight: 800; letter-spacing: 0.08em; font-size: 12px; }
#skf-footer .skf-f-grid {
  display: grid;
  gap: 32px;
  margin-top: 36px;
  grid-template-columns: 1.4fr 1fr 1fr minmax(0, 18rem);
}
#skf-footer .skf-f-logo { height: 38px; width: auto; display: block; }
#skf-footer .skf-f-tag { margin: 12px 0 0; color: rgba(255, 255, 255, 0.7); max-width: 280px; }
#skf-footer h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
#skf-footer .skf-f-col a { display: block; color: rgba(255, 255, 255, 0.85); padding: 4px 0; transition: color 0.2s; }
#skf-footer .skf-f-col a:hover { color: #fff; }
#skf-footer .skf-f-badge {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
#skf-footer .skf-f-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
}
#skf-footer .skf-f-row { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.65); padding: 5px 0; word-break: break-word; }
#skf-footer .skf-f-row:hover { color: #fff; }
#skf-footer .skf-f-ico {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.15);
  color: #a855f7;
}
#skf-footer .skf-f-ico svg { width: 15px; height: 15px; }
#skf-footer .skf-f-hours { margin: 6px 0 0 40px; font-size: 12px; color: rgba(255, 255, 255, 0.45); }
#skf-footer .skf-f-ventures { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
#skf-footer .skf-f-ventures a { display: inline-block; margin: 0 16px 6px 0; color: #a855f7; font-weight: 500; }
#skf-footer .skf-f-ventures a:hover { color: #fff; }
#skf-footer .skf-f-parent {
  grid-column: 1 / span 3;
  align-self: start;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 10px 30px -12px rgba(139, 92, 246, 0.5);
}
#skf-footer .skf-f-parent b { color: #a855f7; }
#skf-footer .skf-f-parent a { color: #fff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; }
#skf-footer .skf-f-word {
  margin-top: 18px;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.85;
  font-size: clamp(3rem, 8vw, 6rem);
  background-image: linear-gradient(180deg, rgba(139, 92, 246, 0.5) 0%, rgba(139, 92, 246, 0.22) 55%, rgba(8, 7, 26, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}
#skf-footer .skf-f-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
#skf-footer .skf-f-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
#skf-footer .skf-f-legal a { color: rgba(255, 255, 255, 0.7); }
#skf-footer .skf-f-legal a:hover { color: #fff; }
#skf-footer a:focus-visible,
#sec-topbar a:focus-visible,
#sec-topbar button:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; border-radius: 6px; }

@media (max-width: 1023px) {
  #skf-footer .skf-f-grid { grid-template-columns: 1fr 1fr; }
  #skf-footer .skf-f-parent { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #skf-footer { padding-top: 28px; }
  #skf-footer .skf-f-cta { padding: 20px; }
  #skf-footer .skf-f-cta h2 { font-size: 19px; }
  #skf-footer .skf-f-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 28px; }
  #skf-footer .skf-f-grid > div:first-child,
  #skf-footer .skf-f-card { grid-column: 1 / -1; }
  #skf-footer .skf-f-col a { font-size: 13.5px; }
  #skf-footer .skf-f-parent { font-size: 14px; }
  #skf-footer .skf-f-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Rann-Neeti stall offer (skillfy-learn.js, stallOffer) ---------- */
#skf-offer {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9990;
  width: min(440px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(168, 85, 247, 0.08) 60%), #120c2a;
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 24px 60px -18px rgba(139, 92, 246, 0.75), 0 8px 24px rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  text-align: left;
}
#skf-offer p { margin: 0; }
#skf-offer .skf-offer-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6ee7b7;
}
#skf-offer .skf-offer-title {
  margin-top: 6px;
  padding-right: 28px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
#skf-offer .skf-offer-code { display: flex; gap: 8px; margin-top: 12px; }
#skf-offer output {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  border: 1px dashed rgba(110, 231, 183, 0.6);
  background: rgba(10, 10, 26, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
#skf-offer button,
#skf-offer a { font-family: inherit; cursor: pointer; }
#skf-offer .skf-offer-copy {
  min-width: 76px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
#skf-offer .skf-offer-copy:hover { background: rgba(255, 255, 255, 0.16); }
#skf-offer .skf-offer-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}
#skf-offer .skf-offer-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 12px 30px -10px rgba(139, 92, 246, 0.8);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}
#skf-offer .skf-offer-shop:hover { opacity: 0.94; }
#skf-offer .skf-offer-x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
}
#skf-offer .skf-offer-x:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
#skf-offer .skf-offer-x svg { width: 16px; height: 16px; }
#skf-offer button:focus-visible,
#skf-offer a:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
/* Room at the bottom of the page so the card never hides the footer links. */
html.skf-offer-on body { padding-bottom: 260px !important; }
