/* =========================
   SRS Hero (100% scoped)
   No 100vw => no horizontal scroll
   ========================= */

.srs-hero{
  --padX: clamp(14px, 3.2vw, 26px);
  --padTop: clamp(52px, 6vw, 84px);
  --padBot: clamp(58px, 6.5vw, 96px);

  --ink:#0b1220;
  --muted:#3b4a66;
  --border: rgba(15,23,42,.10);

  --g1:#7c3aed;
  --g2:#ec4899;
  --g3:#fb7185;
  --g4:#f59e0b;
  --g5:#10b981;

  display:block;
  position:relative;
  isolation:isolate;
  contain: layout paint style;

  width:100%;
  max-width:100%;
  margin:0;

  padding: var(--padTop) 0 var(--padBot);
  overflow:hidden;
  overflow-x: clip;

  color:var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* FIX: avoid letter-stacking in narrow parents */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.srs-hero :where(*, *::before, *::after){
  box-sizing:border-box;
}

/* Ensure all direct children render above the ::before background */
.srs-hero > *{
  position: relative;
  z-index: 1;
}

.srs-hero :where(h1,h2,h3,p,a,li,ul,ol,header,section,article,div,span,aside){
  min-width:0;
}

/* Min-width safety for layout wrappers */
.srs-hero :where(.srs-container, .srs-inner, .srs-layout, .srs-content, .srs-trustedBox){
  min-width: 0;
}

.srs-hero :where(img, svg, video, canvas){
  max-width:100%;
  height:auto;
}

/* Background that auto-follows the section width */
.srs-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(124,58,237,.22), transparent 60%),
    radial-gradient(1100px 560px at 92% 10%, rgba(16,185,129,.20), transparent 65%),
    linear-gradient(120deg, rgba(124,58,237,.06), rgba(236,72,153,.05) 40%, rgba(245,158,11,.06) 75%, rgba(16,185,129,.06));
}

/* Optional subtle border line like “section card” */
.srs-hero{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Ornaments */
.srs-hero .srs-glow,
.srs-hero .srs-ring{
  position:absolute;
  z-index:0;
  pointer-events:none;
  will-change: transform;
}

.srs-hero .srs-glow{
  inset: -40% -20% auto;
  height: 80vh;
  min-height: 520px;
  background:
    radial-gradient(closest-side, rgba(236,72,153,.15), transparent 70%) 65% 25%/45% 45% no-repeat,
    radial-gradient(closest-side, rgba(124,58,237,.18), transparent 70%) 20% 10%/40% 40% no-repeat,
    radial-gradient(closest-side, rgba(16,185,129,.16), transparent 70%) 80% 5%/35% 35% no-repeat;
  filter: blur(30px);
  opacity: .68;
  animation: srs-drift 18s linear infinite alternate;
}

@keyframes srs-drift{
  to{ transform: translate3d(2.5%, -1.5%, 0) scale(1.02); }
}

.srs-hero .srs-ring{
  inset: -120px -120px auto auto;
  width: 420px;
  height: 420px;
  background: conic-gradient(from 140deg, var(--g1), var(--g2), var(--g3), var(--g4), var(--g5), var(--g1));
  -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
          mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
  filter: blur(18px) saturate(1.2);
  opacity: .30;
  animation: srs-spin 24s linear infinite;
}

@keyframes srs-spin{
  to{ transform: rotate(360deg); }
}

/* Shell / inner */
.srs-hero .srs-container{
  width:100%;
  max-width:1500px;
  margin:0 auto;
  padding:0 var(--padX);
  position:relative;
  z-index:1;
}

.srs-hero .srs-inner{
  width:100%;
  max-width:1400px;
  margin:0 auto;
}

.srs-hero .srs-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 18vw, 360px);
  gap: clamp(14px, 2vw, 22px);

  align-items:center;
  min-width:0;
}

.srs-hero .srs-content{
  min-width:0;
}

/* Eyebrow */
.srs-hero .srs-eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 8px 14px;
  border-radius: 10px;

  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);

  font-weight: 900;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink);

  max-width: 100%;
  white-space: normal;
  flex-wrap: wrap;

  /* safety */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Title */
.srs-hero .srs-title{
  margin: 22px 0 18px;
  font-size: clamp(28px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 950;

  max-width: 100%;
  text-wrap: balance;

  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

@supports not (text-wrap: balance){
  .srs-hero .srs-title{ word-break: break-word; }
}

/* Lead */
.srs-hero .srs-lead{
  margin: 0 0 22px;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 100%;

  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.srs-hero .srs-lead strong{
  color: var(--ink);
  font-weight: 900;
}

/* Chips */
.srs-hero .srs-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
  max-width:100%;
}

.srs-hero .srs-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding: 10px 12px;
  border-radius: 10px;

  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 36px rgba(15,23,42,.10);

  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.01em;
  color: var(--ink);

  max-width: 100%;
  min-width: 0;

  white-space: normal;

  /* FIX: stop character-level splitting */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.srs-hero .srs-dot{
  flex:0 0 auto;
  width:10px;
  height:10px;
  border-radius:10px;
  background:#cbd5e1;
  box-shadow: 0 0 0 3px rgba(203,213,225,.28);
}

.srs-hero .srs-c-cyan .srs-dot{ background:#06b6d4; box-shadow: 0 0 0 3px rgba(6,182,212,.22); }
.srs-hero .srs-c-violet .srs-dot{ background:#8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.22); }
.srs-hero .srs-c-amber .srs-dot{ background:#f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.22); }
.srs-hero .srs-c-emerald .srs-dot{ background:#10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.22); }

/* Trusted box */
.srs-hero .srs-trustedBox{
  width:100%;
  min-width:0;

  align-self:end;
  justify-self:end;

  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 48px rgba(15,23,42,.10);

  backdrop-filter: blur(6px);

  text-align:center;
}

.srs-hero .srs-trustedTop{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 0 10px;
}

.srs-hero .srs-trustedTitle{
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #334155;

  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Logo card */
.srs-hero .srs-trustedLogo{
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 14px;
}

.srs-hero .srs-trustedLink{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  max-width:100%;
  min-width:0;

  border-radius: 14px;
  text-decoration:none;
  background: transparent;
}

.srs-hero .srs-trustedLink:focus-visible{
  outline: 3px solid rgba(124,58,237,.35);
  outline-offset: 3px;
}

.srs-hero .srs-trustedLink img{
  display:block;
  max-width:100%;
  height:auto;
  width:auto;
  max-height: 38px;
  object-fit:contain;
}

/* Reviews: ONLY stars (no frame) */
.srs-hero .srs-reviews{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.srs-hero .srs-stars{
  display:inline-flex;
  gap:2px;
  font-size:14px;
  line-height:1;
  color:#f59e0b;
}

/* Screen-reader-only (no !important, scoped + stronger selector) */
.srs-hero .srs-srOnly{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path: inset(50%);
  white-space:nowrap;
  border:0;
}

/* Responsive */
@media (max-width: 1100px){
  .srs-hero .srs-layout{
    grid-template-columns: 1fr;
    align-items:start;
  }

  .srs-hero .srs-trustedBox{
    justify-self: center;
    align-self: start;
    max-width: 560px;
    margin: 14px auto 0;
  }
}

@media (max-width: 680px){
  .srs-hero{
    padding: 48px 0 64px;
  }

  .srs-hero .srs-title{
    font-size: 30px;
    line-height: 1.07;
  }

  .srs-hero .srs-lead{
    font-size: 14px;
  }

  /* Center feature chips on mobile */
  .srs-hero .srs-chips{
    justify-content:center;
  }

  .srs-hero .srs-chip{
    justify-content:center;
    text-align:center;
  }

  .srs-hero .srs-ring{
    width: 300px;
    height: 300px;
    opacity: .22;
  }
}

/* Reduced motion (no !important; relies on cascade order) */
@media (prefers-reduced-motion: reduce){
  .srs-hero *,
  .srs-hero *::before,
  .srs-hero *::after{
    animation:none;
    transition:none;
    scroll-behavior:auto;
  }

  /* Avoid motion-like effects */
  .srs-hero .srs-trustedBox{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
}