/* HUB.STLBEAST V571 Visual Guidance Upgrade
   Goal: make Hub more comfortable, visual, and path-driven so visitors stay and understand where to go.
*/

:root{
  --bg:#f4f8ff;
  --panel:#ffffff;
  --ink:#07111f;
  --muted:#5f6f88;
  --soft:#eef6ff;
  --line:#dbe6f5;
  --blue:#16b8f5;
  --blue2:#1769ff;
  --cyan:#19d5ff;
  --dark:#061427;
  --green:#28c98b;
  --amber:#ffb84d;
  --pink:#ff4fd8;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}

body{
  background:
    radial-gradient(circle at 16% 0%,#edf8ff,transparent 34%),
    radial-gradient(circle at 92% 4%,#eef2ff,transparent 32%),
    linear-gradient(180deg,#f7fbff,#edf4ff 58%,#f9fbff);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}

a{color:inherit}
.wrap{width:100%;max-width:1180px;margin:0 auto;padding:22px}

.hub-header{
  position:relative!important;
  z-index:5;
  display:block;
  width:100%;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 32px rgba(10,30,70,.06);
}

.header-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  align-items:center;
}

.logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  padding:12px 16px;
  border:1px solid #21314a;
  border-radius:14px;
  background:#071427;
  color:#eaf6ff;
  text-decoration:none;
  font-weight:950;
  letter-spacing:.04em;
  box-shadow:0 14px 40px rgba(5,20,45,.12);
}

.logo span{color:#18caff}

.nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin:0;
  padding:0;
}

.nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 10px;
  border:1px solid rgba(7,17,31,.10);
  border-radius:999px;
  background:#fff;
  color:#0b1427;
  text-decoration:none;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.035em;
  font-size:.80rem;
  line-height:1;
  box-shadow:0 8px 22px rgba(10,30,70,.04);
}

main.wrap{padding-top:28px}

.visual-hero{
  position:relative;
  overflow:hidden;
  margin:0 0 22px;
  border:1px solid var(--line);
  border-radius:34px;
  background:
    radial-gradient(circle at 10% 0%,rgba(22,184,245,.16),transparent 34%),
    radial-gradient(circle at 90% 8%,rgba(255,79,216,.08),transparent 30%),
    linear-gradient(135deg,#fff,#edf5ff);
  box-shadow:0 28px 86px rgba(10,30,70,.12);
  padding:clamp(26px,5vw,62px);
}

.visual-hero:after{
  content:"";
  position:absolute;
  right:-70px;
  top:-80px;
  width:260px;
  height:260px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(22,184,245,.18),transparent 64%);
  pointer-events:none;
}

.kicker{
  margin:0 0 12px;
  color:#1769ff;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  font-weight:950;
}

h1{
  margin:0;
  color:#07111f;
  font-size:clamp(2.45rem,7vw,5.85rem);
  line-height:.88;
  letter-spacing:-.075em;
}

h2{
  margin:0 0 14px;
  color:#07111f;
  font-size:clamp(1.45rem,3vw,2.45rem);
  line-height:1;
  letter-spacing:-.04em;
}

h3{margin:0 0 8px;color:#07111f}
p,li{color:var(--muted);line-height:1.55}
.lead{max-width:860px;font-size:clamp(1.08rem,2vw,1.32rem);margin-top:16px}

.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 20px;
  border-radius:999px;
  text-decoration:none;
  background:linear-gradient(90deg,var(--blue),var(--blue2));
  color:#fff;
  font-weight:950;
  box-shadow:0 14px 40px rgba(23,105,255,.18);
}
.btn.secondary{background:#fff;color:#0b1427;border:1px solid var(--line);box-shadow:none}

.searchbox{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:14px;
  box-shadow:0 18px 54px rgba(10,30,70,.08);
  margin-top:24px;
}

input{
  min-height:50px;
  border:1px solid #cfe0f5;
  border-radius:18px;
  padding:0 16px;
  font-size:1.05rem;
  color:#07111f;
}

.comfort-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:22px 0;
}

.comfort{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:start;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  padding:16px;
  box-shadow:0 12px 38px rgba(10,30,70,.07);
}

.icon{
  display:inline-flex;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:linear-gradient(135deg,#e9f8ff,#ffffff);
  border:1px solid #d5e7fa;
  font-size:1.45rem;
}

.comfort strong{display:block;color:#07111f;margin-bottom:4px}
.comfort span{display:block;color:var(--muted);font-size:.92rem;line-height:1.35}

.section{margin:34px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.section-head p{max-width:720px;margin:0}

.problem-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
}

.problem-card{
  position:relative;
  overflow:hidden;
  display:block;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:20px;
  box-shadow:0 18px 58px rgba(10,30,70,.09);
  min-height:220px;
}

.problem-card:before{
  content:"";
  position:absolute;
  right:-44px;
  top:-44px;
  width:132px;
  height:132px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(22,184,245,.16),transparent 62%);
}

.problem-card:hover{
  border-color:#bcd4f6;
  box-shadow:0 24px 70px rgba(10,30,70,.14);
}

.problem-card .big{
  display:inline-flex;
  width:58px;
  height:58px;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#f1f8ff;
  border:1px solid #d6e7fb;
  font-size:1.8rem;
  margin-bottom:14px;
}

.problem-card strong{
  display:block;
  color:#07111f;
  font-size:1.18rem;
  margin-bottom:8px;
}

.problem-card p{margin:0}

.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.tag{
  display:inline-flex;
  border:1px solid #d4e3f7;
  border-radius:999px;
  background:#f7fbff;
  color:#1769ff;
  padding:5px 8px;
  font-size:.72rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.flow{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.flow-step{
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  padding:20px;
  box-shadow:0 16px 50px rgba(10,30,70,.08);
}

.flow-step .num{
  display:inline-flex;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:linear-gradient(90deg,var(--blue),var(--blue2));
  color:#fff;
  font-weight:950;
  margin-bottom:12px;
}

.split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
}

.dark-panel{
  border-radius:30px;
  padding:24px;
  background:
    radial-gradient(circle at 12% 0%,rgba(25,213,255,.12),transparent 32%),
    radial-gradient(circle at 88% 0%,rgba(23,105,255,.14),transparent 32%),
    linear-gradient(135deg,#071427,#0b1b31);
  color:#eaf6ff;
  box-shadow:0 24px 76px rgba(5,20,45,.20);
  border:1px solid rgba(255,255,255,.10);
}

.dark-panel h2,.dark-panel h3,.dark-panel strong{color:#fff}
.dark-panel p,.dark-panel li{color:#b8cbe4}
.dark-panel .btn.secondary{background:rgba(255,255,255,.08);color:#eaf6ff;border-color:rgba(255,255,255,.18)}

.helper-box{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  border-radius:20px;
  padding:16px;
  margin-top:14px;
}

.footer{
  background:#061427;
  color:#c5d7ef;
  margin-top:48px;
  padding:36px 0;
}

.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:24px}
.footer a{display:block;color:#c5d7ef;text-decoration:none;margin:10px 0}
.footer h3{color:#fff}.footer p{color:#a9bdd8}

@media(max-width:900px){
  .header-row{grid-template-columns:1fr}
  .nav{justify-content:flex-start}
  .comfort-strip{grid-template-columns:repeat(2,1fr)}
  .flow{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
}

@media(max-width:760px){
  .wrap{padding:16px}
  .hub-header .wrap{padding:12px 16px}
  .logo{width:100%;min-height:48px}
  .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .nav a{width:100%;font-size:.72rem;padding:9px 7px;min-height:36px}
  main.wrap{padding-top:18px}
  .visual-hero{padding:28px 18px;border-radius:24px}
  h1{font-size:clamp(2.3rem,13vw,4.2rem)}
  .searchbox{grid-template-columns:1fr}
  .actions{display:grid;grid-template-columns:1fr}
  .comfort-strip{grid-template-columns:1fr}
  .problem-grid{grid-template-columns:1fr}
  .section-head{display:grid}
  .footer-grid{grid-template-columns:1fr}
}
