.sgt-widget{
  max-width:560px;
  margin:24px 0;
  padding:22px 24px;
  border:1px solid #E1E4EA;
  border-radius:14px;
  background:#FFFFFF;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;
  color:#181C24;
}
.sgt-widget .sgt-title{
  font-size:19px;
  font-weight:700;
  margin:0 0 6px;
}
.sgt-widget .sgt-desc{
  font-size:13.5px;
  color:#6B7280;
  line-height:1.55;
  margin:0 0 16px;
}
.sgt-field{
  display:block;
  font-size:12.5px;
  color:#6B7280;
  font-weight:500;
  margin:0 0 12px;
}
.sgt-field input[type=text],
.sgt-field select{
  display:block;
  width:100%;
  margin-top:5px;
  font-size:13.5px;
  padding:9px 11px;
  border:1px solid #E1E4EA;
  border-radius:8px;
  background:#fff;
  color:#181C24;
  box-sizing:border-box;
}
.sgt-btn{
  font-family:inherit;
  font-weight:600;
  font-size:13.5px;
  background:#3B4FA0;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:10px 18px;
  cursor:pointer;
  margin-top:6px;
}
.sgt-btn:hover{ background:#2C3B7D; }
.sgt-btn:disabled{ background:#CBD0DA; color:#8b909c; cursor:not-allowed; }
.sgt-loading{
  font-size:13px;
  color:#6B7280;
  margin-top:10px;
}
.sgt-results{ margin-top:14px; }
.sgt-error{
  background:#FBEBEA;
  color:#B0473F;
  border-radius:8px;
  padding:10px 12px;
  font-size:13px;
}

/* hashtag groups */
.sgt-hashtag-group{
  border:1px solid #E1E4EA;
  border-radius:10px;
  padding:14px 16px;
  margin-top:10px;
  background:#FAFBFC;
}
.sgt-hashtag-group h4{
  margin:0 0 8px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#6B7280;
}
.sgt-hashtag-group .sgt-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:8px;
}
.sgt-hashtag-group .sgt-tags span{
  font-family:monospace;
  font-size:12px;
  background:#E9ECF9;
  color:#2C3B7D;
  padding:3px 9px;
  border-radius:14px;
}
.sgt-copy-btn{
  font-family:inherit;
  font-size:12px;
  font-weight:600;
  color:#2C3B7D;
  background:none;
  border:1px solid #3B4FA0;
  border-radius:6px;
  padding:5px 10px;
  cursor:pointer;
}
.sgt-copy-btn:hover{ background:#E9ECF9; }

/* idea cards */
.sgt-idea-card{
  border:1px solid #E1E4EA;
  border-radius:10px;
  padding:14px 16px;
  margin-top:10px;
  background:#FAFBFC;
}
.sgt-idea-card .sgt-hook{ font-weight:600; font-size:14px; margin-bottom:6px; }
.sgt-idea-card .sgt-meta{ font-size:12.5px; color:#6B7280; margin-bottom:8px; }
.sgt-idea-card .sgt-cta{ font-size:13px; color:#2C3B7D; }

/* SEO content block */
.sgt-seo-content{
  margin-top:26px;
  padding-top:20px;
  border-top:1px solid #E1E4EA;
}
.sgt-seo-content p{
  font-size:14px;
  line-height:1.7;
  color:#3A4250;
  margin:0 0 18px;
}
.sgt-seo-content h3{
  font-size:15px;
  font-weight:700;
  margin:0 0 10px;
}
.sgt-faq dt{
  font-weight:600;
  font-size:14px;
  margin-top:12px;
}
.sgt-faq dd{
  margin:4px 0 0;
  font-size:13.5px;
  color:#6B7280;
  line-height:1.6;
}

.sgt-meta-suggestion{
  background:#FFF9E8;
  border:1px dashed #E0C46C;
  border-radius:8px;
  padding:12px 14px;
  margin-bottom:18px;
  font-size:12.5px;
  color:#6B5A1E;
}
.sgt-meta-suggestion strong{ display:block; margin-bottom:6px; font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.sgt-meta-suggestion p{ margin:4px 0; font-size:12.5px; color:#6B5A1E; }

/* ===== Page wrapper ===== */
.sgt-page-wrap{
  width:100%;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;
  color:#181C24;
}

/* ===== Centered widget ===== */
.sgt-widget-centered{
  display:flex;
  justify-content:center;
  margin:0 auto 32px;
}
.sgt-widget-centered .sgt-widget{
  width:100%;
  max-width:600px;
}

/* ===== How it works ===== */
.sgt-how-it-works{
  margin:0 auto 36px;
  max-width:860px;
}
.sgt-how-it-works h3{
  font-size:20px;
  font-weight:700;
  margin:0 0 18px;
  font-family:'Space Grotesk',-apple-system,sans-serif;
}
.sgt-steps{
  display:flex;
  gap:20px;
}
@media(max-width:680px){
  .sgt-steps{ flex-direction:column; }
}
.sgt-step{
  flex:1;
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:#FAFBFC;
  border:1px solid #E1E4EA;
  border-radius:12px;
  padding:18px 16px;
}
.sgt-step-num{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#3B4FA0;
  color:#fff;
  font-family:'Space Grotesk',-apple-system,sans-serif;
  font-weight:700;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.sgt-step-body strong{
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:4px;
}
.sgt-step-body p{
  margin:0;
  font-size:13px;
  color:#6B7280;
  line-height:1.55;
}

/* ===== Related tools grid ===== */
.sgt-related-tools{
  margin:36px auto 0;
  max-width:860px;
}
.sgt-related-tools h3{
  font-size:18px;
  font-weight:700;
  margin:0 0 14px;
  font-family:'Space Grotesk',-apple-system,sans-serif;
}
.sgt-related-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.sgt-related-link{
  display:inline-block;
  font-size:13px;
  font-weight:600;
  color:#2C3B7D;
  background:#E9ECF9;
  border:1px solid #C5CAE9;
  border-radius:8px;
  padding:7px 13px;
  text-decoration:none;
  transition:background .15s, border-color .15s;
}
.sgt-related-link:hover{
  background:#D4DAF5;
  border-color:#3B4FA0;
  text-decoration:none;
}
.sgt-related-link[href="#"]{
  opacity:.45;
  cursor:default;
  pointer-events:none;
}

/* ===== HUB PAGE ===== */
.sgt-hub-wrap{
  width:100%;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;
  color:#181C24;
}
.sgt-hub-hero{
  text-align:center;
  padding:32px 16px 24px;
}
.sgt-hub-title{
  font-family:'Space Grotesk',-apple-system,sans-serif;
  font-size:28px;
  font-weight:700;
  margin:0 0 10px;
  letter-spacing:-.01em;
}
.sgt-hub-sub{
  font-size:15px;
  color:#6B7280;
  max-width:52ch;
  margin:0 auto;
  line-height:1.55;
}
.sgt-hub-section{
  margin:28px 0;
}
.sgt-hub-section-label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#6B7280;
  margin-bottom:14px;
}
.sgt-hub-section-icon{
  font-size:16px;
}
.sgt-hub-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media(max-width:720px){
  .sgt-hub-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:480px){
  .sgt-hub-grid{ grid-template-columns:1fr; }
}
.sgt-hub-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  background:#FFFFFF;
  border:1.5px solid #E1E4EA;
  border-radius:12px;
  text-decoration:none;
  color:#181C24;
  transition:border-color .15s, box-shadow .15s, transform .1s;
  position:relative;
  overflow:hidden;
}
.sgt-hub-card:hover{
  border-color:var(--card-color);
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  transform:translateY(-1px);
  text-decoration:none;
  color:#181C24;
}
.sgt-hub-card:hover .sgt-hub-card-icon{
  background:var(--card-bg);
}
.sgt-hub-card--soon{
  opacity:.55;
  cursor:default;
  pointer-events:none;
}
.sgt-hub-card-icon{
  width:40px;
  height:40px;
  border-radius:10px;
  background:#F5F6F8;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:background .15s;
}
.sgt-hub-card-icon svg{
  width:22px;
  height:22px;
}
.sgt-hub-card-body{
  flex:1;
  min-width:0;
}
.sgt-hub-card-name{
  font-weight:600;
  font-size:13.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sgt-hub-card-label{
  font-size:11.5px;
  color:#6B7280;
  margin-top:1px;
}
.sgt-hub-soon-badge{
  font-family:-apple-system,sans-serif;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  background:#F2F3F6;
  color:#9CA3AF;
  padding:2px 7px;
  border-radius:20px;
  flex-shrink:0;
}
.sgt-hub-arrow{
  font-size:16px;
  color:#9CA3AF;
  flex-shrink:0;
  transition:color .15s, transform .15s;
}
.sgt-hub-card:hover .sgt-hub-arrow{
  color:var(--card-color);
  transform:translateX(3px);
}
