@import url("swft-fonts.css");

/* ============================================================
   SWFT Studios — shared clean navigation
   Used site-wide. Self-contained, prefixed with .sn-
   ============================================================ */
:root {
  --sm-green: #7fffe5;
  --sn-height: 62px;
}

.sn-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(1,1,1,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: "Inter Display", Inter, sans-serif;
}
.sn-brand { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; color: #fff; text-decoration: none; white-space: nowrap; }
.sn-brand .sk { font-weight: 400; }
.sn-brand .hl { color: var(--sm-green); }
.sn-links { display: flex; align-items: center; gap: 1.6rem; }
.sn-link { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.18s; }
.sn-link:hover { color: #fff; }
.sn-link.is-active { color: #fff; position: relative; }
.sn-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--sm-green); border-radius: 2px; }
/* Reserve nav height — fixed bar is removed from document flow */
#swft-nav { display: block; min-height: var(--sn-height); }

/* Legacy Webflow footer nav replaced by shared component */
body:has(#swft-nav) footer.navbar { display: none !important; }
.sn-cta { background: var(--sm-green); color: #010101; font-weight: 700; font-size: 0.9rem; padding: 0.6rem 1.1rem; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: transform 0.18s; }
.sn-cta:hover { transform: translateY(-1px); }
.sn-burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; justify-content: center; align-items: center; background: none; border: none; cursor: pointer; padding: 0; }
.sn-burger span { display: block; width: 24px; height: 2px; background: #fff; }
.sn-panel { display: none; }

@media (max-width: 860px) {
  .sn-links { display: none; }
  .sn-burger { display: flex; }
  .sn-panel {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 1100;
    background: #0c0c0c; border-left: 1px solid rgba(255,255,255,0.1);
    transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column; padding: 5rem 1.75rem 2rem;
    font-family: "Inter Display", Inter, sans-serif;
  }
  .sn-panel.open { display: flex; transform: translateX(0); }
  .sn-panel a { color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 600; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .sn-panel a.is-active { color: var(--sm-green); }
  .sn-panel a.sn-panel-cta { margin-top: 1.5rem; border: none; background: var(--sm-green); color: #010101; text-align: center; border-radius: 999px; padding: 1rem; }
  .sn-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .sn-scrim.open { opacity: 1; pointer-events: auto; }
  .sn-close { position: absolute; top: 1.4rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
}
