/* ====== Helpers ====== */
.sf-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ====== Hero ====== */
section#main-body .sf-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 64px 28px;
  background: linear-gradient(135deg, var(--main-clr), #1e2a8a);
}

section#main-body .sf-hero__bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.14), rgba(255,255,255,0) 60%),
    radial-gradient(closest-side, rgba(0,0,0,0.18), rgba(0,0,0,0) 55%);
  transform: rotate(12deg);
}

section#main-body .sf-hero__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

section#main-body .sf-hero__header {
  text-align: center;
  margin: 0 auto 26px;
  max-width: 760px;
}

section#main-body .sf-hero__title {
  color: #fff;
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 10px;
}

section#main-body .sf-hero__subtitle {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ====== Domain form ====== */
.sf-domain__form { margin-top: 22px; }
.sf-domain__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: stretch;
}

.sf-domain__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.sf-domain__icon { color: rgba(255,255,255,0.9); font-size: 18px; }

.sf-domain__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
}
.sf-domain__input::placeholder { color: rgba(255,255,255,0.75); }

.sf-domain__actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.sf-domain__captcha { margin-top: 14px; }
.domainchecker-homepage-captcha { color: #fff; }

.sf-domain__trust {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.sf-domain__trust i { margin-right: 6px; }

/* ====== Buttons ====== */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.sf-btn:active { transform: translateY(1px); }

.sf-btn--primary { background: var(--main-clr); color: #fff; }
.sf-btn--primary:hover { background: #242424; color: #fff; text-decoration: none; }

.sf-btn--dark { background: #242424; color: #fff; }
.sf-btn--dark:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.18); }

.sf-btn--light {
  background: #fff;
  color: var(--main-clr);
  border-color: rgba(255,255,255,0.25);
}
.sf-btn--light:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.12); }

/* ====== Sections ====== */
.sf-section { margin: 70px 0; }
.sf-section__header { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.sf-section__title {
  color: #242424;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 600;
}
.sf-section__subtitle { color: #7e7e7e; margin: 0; font-size: 15px; line-height: 1.6; }

/* ====== Grid & Cards ====== */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sf-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0px 0px 1px rgba(0,0,0,.12), 0px 10px 34px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.sf-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-clr);
  background: rgba(0,0,0,0.03);
  margin-bottom: 14px;
  font-size: 20px;
}

.sf-card__title { margin: 0 0 8px; color: #242424; font-size: 18px; line-height: 1.35; }
.sf-card__desc { margin: 0 0 18px; color: #7e7e7e; font-size: 14px; line-height: 1.65; }
.sf-card__actions { margin-top: auto; }

.sf-card--news .sf-card__meta {
  color: #7e7e7e;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sf-card--news a { text-decoration: none; }
.sf-card--news a:hover { text-decoration: underline; }

/* ====== Help tiles ====== */
.sf-grid--help { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.sf-tile {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0px 0px 1px rgba(0,0,0,.12), 0px 10px 34px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  transition: transform .12s ease, box-shadow .2s ease;
}
.sf-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 1px rgba(0,0,0,.12), 0px 16px 44px rgba(0,0,0,.12);
  text-decoration: none;
}
.sf-tile__icon { font-size: 26px; color: var(--main-clr); }
.sf-tile__title { font-weight: 600; color: #242424; }
.sf-tile__meta { font-size: 13px; color: #7e7e7e; }

/* ====== Responsive ====== */
@media (max-width: 991px) {
  section#main-body .sf-hero__title { font-size: 32px; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-grid--help { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-hero__inner{ grid-template-columns: 1fr; }
  .sf-hero__title{ font-size: 34px; }
}

@media (max-width: 767px) {
  section#main-body .sf-hero { padding: 48px 18px; border-radius: 12px; }
  .sf-domain__row { grid-template-columns: 1fr; }
  .sf-domain__actions { width: 100%; }
  .sf-domain__actions .sf-btn { width: 100%; }
  .sf-grid { grid-template-columns: 1fr; }
  .sf-grid--help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section#main-body .sf-hero{ padding: 34px 16px 18px; }
  .sf-domain__row{ grid-template-columns: 1fr; }
  .sf-domain__actions{ width:100%; }
  .sf-domain__actions .sf-btn{ width:100%; }
}

section#main-body .sf-hero {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--main-clr), #1e2a8a);
  padding: 42px 34px 22px;
  position: relative;
  overflow: hidden;
}
section#main-body .sf-hero::before{
  content:"";
  position:absolute; inset:-30%;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(255,255,255,0) 60%);
  transform: rotate(10deg);
  pointer-events:none;
}
.sf-hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}
.sf-hero__title{
  color:#fff;
  margin:0 0 10px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 650;
}
.sf-hero__subtitle{
  margin:0 0 18px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}

/* Domain */
.sf-domain__row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}
.sf-domain__field{
  display:flex;
  gap:10px;
  align-items:center;
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.sf-domain__icon{ color: rgba(255,255,255,.9); }
.sf-domain__input{
  width:100%;
  border:0; outline:none;
  background:transparent;
  color:#fff;
  font-size: 18px;
}
.sf-domain__input::placeholder{ color: rgba(255,255,255,.72); }

.sf-domain__actions{ display:flex; gap:10px; }
.sf-domain__captcha{ margin-top: 12px; }
.domainchecker-homepage-captcha{ color:#fff; }

.sf-usp{
  margin-top: 10px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.sf-usp i{ margin-right: 6px; }

/* Buttons */
.sf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  border: 1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.sf-btn:active{ transform: translateY(1px); }
.sf-btn--dark{ background:#242424; color:#fff; }
.sf-btn--light{ background:#fff; color: var(--main-clr); }
.sf-btn--primary{ background: var(--main-clr); color:#fff; }
.sf-btn--ghost{
  background: rgba(255,255,255,.12);
  color:#fff;
  border-color: rgba(255,255,255,.18);
}
.sf-btn:hover{ text-decoration:none; box-shadow: 0 14px 34px rgba(0,0,0,.14); }

/* TLD pills row (home.pl vibe) */
.sf-tlds{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sf-tld{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-size: 13px;
}
.sf-tld strong{ color:#fff; font-weight: 700; }
.sf-tld:hover{ background: rgba(255,255,255,.18); text-decoration:none; }

/* Right side card */
.sf-hero__side{ display:flex; }
.sf-sidecard{
  width:100%;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  padding: 18px;
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction: column;
  gap: 14px;
}
.sf-sidecard__top{ display:flex; gap:10px; flex-wrap:wrap; }
.sf-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color:#fff;
  font-size: 12px;
}
.sf-sidecard__headline{ color:#fff; font-weight:700; font-size: 18px; }
.sf-sidecard__text{ color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.6; }
.sf-sidecard__ctas{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.sf-sidecard__ctas .sf-btn{ width: auto; }

/* Logos strip */
.sf-logos{
  position: relative;
  max-width: 1160px;
  margin: 18px auto 0;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap: wrap;
}
.sf-logos__label{
  color: rgba(255,255,255,.78);
  font-size: 13px;
  margin-right: 6px;
}
.sf-logos__row{
  display:flex;
  gap: 18px;
  align-items:center;
  flex-wrap: wrap;
}
.sf-logos__row img{
  height: 3.5rem;
  width: auto;
  opacity: .92;
  filter: brightness(0) invert(1);
}